mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-24
Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0 (patch 166-172) - Update from CVS - Tweak obsolete function/variable warning message - Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/gnus--rel--5.10 (patch 38) - Update from CVS
This commit is contained in:
commit
4a67029327
26 changed files with 288 additions and 166 deletions
|
|
@ -1039,7 +1039,7 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'."
|
|||
(byte-compile-set-symbol-position (car form))
|
||||
(if (memq 'obsolete byte-compile-warnings)
|
||||
(byte-compile-warn "`%s' is an obsolete function%s; %s" (car form)
|
||||
(if when (concat " since " when) "")
|
||||
(if when (concat " (as of Emacs " when ")") "")
|
||||
(if (stringp (car new))
|
||||
(car new)
|
||||
(format "use `%s' instead." (car new)))))
|
||||
|
|
@ -2779,7 +2779,7 @@ That command is designed for interactive use only" fn))
|
|||
(let* ((ob (get var 'byte-obsolete-variable))
|
||||
(when (cdr ob)))
|
||||
(byte-compile-warn "`%s' is an obsolete variable%s; %s" var
|
||||
(if when (concat " since " when) "")
|
||||
(if when (concat " (as of Emacs " when ")") "")
|
||||
(if (stringp (car ob))
|
||||
(car ob)
|
||||
(format "use `%s' instead." (car ob))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue