]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/byte-run.el
Further define-obsolete-* doc fixups
[gnu-emacs] / lisp / emacs-lisp / byte-run.el
index ed457d9ede1f51945f0b32956de0e9821009d23f..818c2683463b2b80b4e9a7b8e2af19edf8be3cef 100644 (file)
@@ -407,7 +407,7 @@ dumped with Emacs).  This is so that any user customizations are
 applied before the defcustom tries to initialize the
 variable (this is due to the way `defvaralias' works).
 
-If provided, WHEN should be a string indicating when the function
+If provided, WHEN should be a string indicating when the variable
 was first made obsolete, for example a date or a release number.
 
 For the benefit of `custom-set-variables', if OBSOLETE-NAME has
@@ -434,7 +434,7 @@ CURRENT-NAME, if it does not already have them:
 ;; It only really affects M-x describe-face output.
 (defmacro define-obsolete-face-alias (obsolete-face current-face when)
   "Make OBSOLETE-FACE a face alias for CURRENT-FACE and mark it obsolete.
-If provided, WHEN should be a string indicating when the function
+If provided, WHEN should be a string indicating when the face
 was first made obsolete, for example a date or a release number."
   `(progn
      (put ,obsolete-face 'face-alias ,current-face)