]> git.eshelyaron.com Git - emacs.git/commit
Change defgeneric so it doesn't completely redefine the function
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 22 May 2015 03:46:10 +0000 (23:46 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 22 May 2015 03:46:10 +0000 (23:46 -0400)
commitea92591983a05bd85d52a6a07dd3b7149feb46d2
treeb22c6fde14f284e276e587198740d621aaced913
parentf590fc2760f8b8180a4caf77cea81840e37fe29e
Change defgeneric so it doesn't completely redefine the function

* lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
previously defined methods.
(cl-generic-define-method): Let-bind purify-flag instead of using `fset'.
(cl--generic-prefill-dispatchers): Only define during compilation.
(cl-method-qualifiers): Remove redundant alias.
(help-fns-short-filename): Silence byte-compiler.
* test/automated/cl-generic-tests.el: Adjust to new defgeneric semantics.
lib-src/emacsclient.c
lisp/ChangeLog.16
lisp/emacs-lisp/cl-generic.el
test/automated/cl-generic-tests.el