emacs/lisp/emacs-lisp
Stefan Monnier 919281ddb2 Replace gui-method macros with cl-generic with &context
* lisp/frame.el (gui-method--name, gui-method, gui-method-define)
(gui-method-declare, gui-call): Remove.
(frame-creation-function): Use cl-defgeneric.
(make-frame): Adjust callers.

* lisp/menu-bar.el (menu-bar-edit-menu):
Use gui-backend-selection-exists-p.

* lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
(gui-backend-get-selection): New cl-generic to replace
gui-get-selection method.
(gui-backend-set-selection): New cl-generic to replace
gui-set-selection method.
(gui-selection-owner-p): New cl-generic to replace
gui-selection-owner-p method.
(gui-backend-selection-exists-p): New cl-generic to replace
gui-selection-exists-p method.  Adjust all callers.

* lisp/server.el (server-create-window-system-frame): Don't ignore
window-system spec even when unsupported.

* lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.

* lisp/startup.el (handle-args-function, window-system-initialization):
Use cl-defgeneric.
(command-line): Adjust calls accordingly.

* lisp/term/ns-win.el (ns-window-system-initialization): Turn into
a window-system-initialization method.
(handle-args-function, frame-creation-function): Use cl-defmethod.
(gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
(gui-get-selection): Use cl-defmethod on the new functions instead.

* lisp/term/pc-win.el (w16-get-selection-value): Turn into
a gui-backend-get-selection method.
(gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
Use cl-defmethod on the new functions instead.
(msdos-window-system-initialization): Turn into
a window-system-initialization method.
(frame-creation-function, handle-args-function): Use cl-defmethod.

* lisp/term/w32-win.el (w32-window-system-initialization): Turn into
a window-system-initialization method.
(handle-args-function, frame-creation-function): Use cl-defmethod.
(gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
(gui-get-selection): Use cl-defmethod on the new functions instead.

* lisp/term/x-win.el (x-window-system-initialization): Turn into
a window-system-initialization method.
(handle-args-function, frame-creation-function): Use cl-defmethod.
(gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
(gui-get-selection): Use cl-defmethod on the new functions instead.

* lisp/term/xterm.el (xterm--set-selection): Turn into
a gui-backend-set-selection method.

* src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
(Fns_selection_owner_p): Remove unused arg `terminal'.
(Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
2015-05-23 11:32:29 -04:00
..
advice.el Don't require help-fns when not needed 2015-05-20 08:24:23 -07:00
autoload.el Don't require help-fns when not needed 2015-05-20 08:24:23 -07:00
avl-tree.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
backquote.el * lisp/emacs-lisp/backquote.el: Fix bug with unoptimized exp. 2015-01-30 16:00:29 -05:00
benchmark.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bindat.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
byte-opt.el Fix minor quoting problems in doc strings 2015-05-19 15:01:16 -07:00
byte-run.el * etc/TODO: Remove obsolete entries. 2015-03-25 14:28:25 -04:00
bytecomp.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
cconv.el Add (:documentation <form>) for dynamically-generated docstrings 2015-02-05 14:28:16 -05:00
chart.el * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias. 2015-05-11 23:50:08 -07:00
check-declare.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
checkdoc.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
cl-extra.el Define cl-concatenate as an alias to seq-concatenate 2015-04-15 18:29:15 +02:00
cl-generic.el Change defgeneric so it doesn't completely redefine the function 2015-05-21 23:46:10 -04:00
cl-indent.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
cl-lib.el Fix bootstrap (void function cl-member). 2015-05-13 19:02:31 -04:00
cl-macs.el Don't require help-fns when not needed 2015-05-20 08:24:23 -07:00
cl-preloaded.el EIEIO: Change class's representation to unify instance & class slots 2015-03-18 23:02:26 -04:00
cl-seq.el Fix bootstrap (void function cl-member). 2015-05-13 19:02:31 -04:00
cl.el (define-modify-macro): Make sure cl--arglist-args is defined 2015-05-06 17:43:43 -04:00
copyright.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
crm.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cursor-sensor.el Deprecate intangible' and point-entered' properties 2015-04-13 15:51:15 -04:00
debug.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
derived.el lisp/emacs-lisp/derived.el (define-derived-mode): Declare indent 3. 2015-01-27 10:48:40 +01:00
disass.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
easy-mmode.el emacs-lisp/easy-mmode.el: Clarify mode switch messages 2015-02-17 22:16:22 -02:00
easymenu.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edebug.el Replace gui-method macros with cl-generic with &context 2015-05-23 11:32:29 -04:00
eieio-base.el Let jit-lock know the result of font-lock-extend-region-functions. 2015-03-30 21:33:20 -04:00
eieio-compat.el EIEIO: Change class's representation to unify instance & class slots 2015-03-18 23:02:26 -04:00
eieio-core.el ; Add class name to error message 2015-05-01 13:10:26 -04:00
eieio-custom.el Spelling fixes 2015-05-05 12:25:48 -07:00
eieio-datadebug.el EIEIO: Change class's representation to unify instance & class slots 2015-03-18 23:02:26 -04:00
eieio-opt.el * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare. 2015-05-07 22:42:12 -07:00
eieio-speedbar.el * lisp/emacs-lisp/eieio*.el: Fix up warnings and improve compatibility 2015-01-21 14:39:06 -05:00
eieio.el ; Auto-commit of loaddefs files. 2015-05-08 06:22:25 -04:00
eldoc.el * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505) 2015-05-05 22:18:19 -04:00
elint.el Don't require help-fns when not needed 2015-05-20 08:24:23 -07:00
elp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ert-x.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ert.el * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload 2015-05-13 18:39:49 -04:00
ewoc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
find-func.el (find-function-regexp): Don't match `defgroup' 2015-01-25 02:20:01 +02:00
float-sup.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
generator.el Fix minor quoting problems in doc strings 2015-05-19 15:01:16 -07:00
generic.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gv.el * lisp/progmodes/gud.el: Use lexical-binding. 2015-03-03 14:23:49 -05:00
helper.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
inline.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
lisp-mnt.el Fix byte-compiler warnings about looking-back. 2015-04-20 21:55:00 -04:00
lisp-mode.el Add let-when-compile macro instead of using pcase-let 2015-05-20 15:20:37 +02:00
lisp.el Further lisp-complete-symbol related cleanup. 2015-05-18 20:51:47 -04:00
macroexp.el Add classes as run-time descriptors of cl-structs. 2015-03-18 10:31:07 -04:00
map-ynp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
nadvice.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
package-x.el Quieten compilation, eg in --without-x builds. 2015-05-08 20:13:47 -04:00
package.el * lisp/emacs-lisp/package.el: Always update selected-packages 2015-05-23 10:21:27 +01:00
pcase.el * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match) 2015-05-01 13:40:31 -04:00
pp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
re-builder.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
regexp-opt.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
regi.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ring.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
rx.el '[:graph:]' now excludes whitespace, not just ' ' 2015-04-15 23:47:01 -07:00
seq.el * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload 2015-05-13 18:39:49 -04:00
shadow.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
smie.el Merge from origin/emacs-24 2015-03-29 14:14:15 -07:00
subr-x.el Improve parameter name 2015-05-20 18:50:38 +03:00
syntax.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
tabulated-list.el * lisp/emacs-lisp/tabulated-list.el: Don't error on nil header-string 2015-05-16 09:52:53 +01:00
tcover-ses.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tcover-unsafep.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
testcover.el * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487) 2015-05-06 10:50:48 -04:00
timer.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tq.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
trace.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
unsafep.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
warnings.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00