Remove extra \= from obsoletion message
* lisp/emacs-lisp/eieio.el (defclass): Remove \= from obsoletion message. * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload) (eieio-defclass-internal): Likewise.
This commit is contained in:
parent
e7fd6fe7ec
commit
2c4a24975c
2 changed files with 5 additions and 5 deletions
|
@ -215,7 +215,7 @@ It creates an autoload function for CNAME's constructor."
|
|||
(when eieio-backward-compatibility
|
||||
(set cname cname)
|
||||
(make-obsolete-variable cname (format "\
|
||||
use \\='%s or turn off `eieio-backward-compatibility' instead" cname)
|
||||
use '%s or turn off `eieio-backward-compatibility' instead" cname)
|
||||
"25.1"))
|
||||
|
||||
(setf (cl--find-class cname) newc)
|
||||
|
@ -340,7 +340,7 @@ See `defclass' for more information."
|
|||
;; turn this into a usable self-pointing symbol; FIXME: Why?
|
||||
(when eieio-backward-compatibility
|
||||
(set cname cname)
|
||||
(make-obsolete-variable cname (format "use \\='%s instead" cname)
|
||||
(make-obsolete-variable cname (format "use '%s instead" cname)
|
||||
"25.1"))
|
||||
|
||||
;; Create a handy list of the class test too
|
||||
|
@ -362,7 +362,7 @@ See `defclass' for more information."
|
|||
(setq obj (cdr obj)))
|
||||
ans))))
|
||||
(make-obsolete csym (format
|
||||
"use (cl-typep ... \\='(list-of %s)) instead"
|
||||
"use (cl-typep ... '(list-of %s)) instead"
|
||||
cname)
|
||||
"25.1")))
|
||||
|
||||
|
@ -420,7 +420,7 @@ See `defclass' for more information."
|
|||
(progn
|
||||
(set initarg initarg)
|
||||
(make-obsolete-variable
|
||||
initarg (format "use \\='%s instead" initarg) "25.1"))))
|
||||
initarg (format "use '%s instead" initarg) "25.1"))))
|
||||
|
||||
;; The customgroup should be a list of symbols.
|
||||
(cond ((and (null customg) custom)
|
||||
|
|
|
@ -260,7 +260,7 @@ This method is obsolete."
|
|||
(let ((f (intern (format "%s-child-p" name))))
|
||||
`((defalias ',f #',testsym2)
|
||||
(make-obsolete
|
||||
',f ,(format "use (cl-typep ... \\='%s) instead" name)
|
||||
',f ,(format "use (cl-typep ... '%s) instead" name)
|
||||
"25.1"))))
|
||||
|
||||
;; When using typep, (typep OBJ 'myclass) returns t for objects which
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue