; lisp/emacs-lisp/eieio.el (eieio-object-set-name-string): Fix quote.

This commit is contained in:
Noam Postavsky 2018-03-01 22:04:57 -05:00
parent 4a09341921
commit cc8ae51e6f

View file

@ -403,7 +403,7 @@ If EXTRA, include that in the string returned to represent the symbol."
(cl-defgeneric eieio-object-set-name-string (obj name)
"Set the string which is OBJ's NAME."
(declare (obsolete "inherit from `eieio-named' and use (setf (slot-value OBJ 'object-name) NAME) instead" "25.1"))
(declare (obsolete "inherit from `eieio-named' and use (setf (slot-value OBJ \\='object-name) NAME) instead" "25.1"))
(cl-check-type name string)
(setf (gethash obj eieio--object-names) name))
(define-obsolete-function-alias