1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Merge from origin/emacs-30

49d64bfb1a ; * etc/NEWS: Update for Emacs 30.2.
4b90b6e7ce ; * lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Doc fi...
This commit is contained in:
Michael Albinus 2025-08-16 13:35:00 +02:00
commit 839f416de7
2 changed files with 6 additions and 27 deletions

View file

@ -15,32 +15,9 @@ in older Emacs versions.
You can narrow news to a specific version by calling 'view-emacs-news' You can narrow news to a specific version by calling 'view-emacs-news'
with a prefix argument or by typing 'C-u C-h C-n'. with a prefix argument or by typing 'C-u C-h C-n'.
* Installation Changes in Emacs 30.2
* Startup Changes in Emacs 30.2
* Changes in Emacs 30.2 * Changes in Emacs 30.2
Emacs 30.2 is a bug-fix release with no new features.
* Editing Changes in Emacs 30.2
* Changes in Specialized Modes and Packages in Emacs 30.2
* New Modes and Packages in Emacs 30.2
* Incompatible Lisp Changes in Emacs 30.2
* Lisp Changes in Emacs 30.2
* Changes in Emacs 30.2 on Non-Free Operating Systems
* Installation Changes in Emacs 30.1 * Installation Changes in Emacs 30.1

View file

@ -230,9 +230,11 @@ SPECIALIZERS-FUNCTION takes as first argument a tag value TAG
(defmacro cl-defgeneric (name args &rest options-and-methods) (defmacro cl-defgeneric (name args &rest options-and-methods)
"Create a generic function NAME. "Create a generic function NAME.
DOC-STRING is the base documentation for this class. A generic DOC-STRING is the base documentation for this class. A generic
function has no body, as its purpose is to decide which method body function usually has no body, as its purpose is to decide which
is appropriate to use. Specific methods are defined with `cl-defmethod'. method body is appropriate to use; ARGS are currently ignored if
With this implementation the ARGS are currently ignored. there's no body. If BODY is present, it provides the default
implementation.
Specific implementation methods are defined with `cl-defmethod'.
OPTIONS-AND-METHODS currently understands: OPTIONS-AND-METHODS currently understands:
- (:documentation DOCSTRING) - (:documentation DOCSTRING)
- (declare DECLARATIONS) - (declare DECLARATIONS)