summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2004-03-18 00:20:44 +0000
committerJuanma Barranquero <lekktu@gmail.com>2004-03-18 00:20:44 +0000
commit7ab91c5f4532a82db9dbfcfc8a991f3429f43610 (patch)
tree1bacb7cdbd3af87ac640820b7f6d588747ba2661 /lisp/emacs-lisp/byte-run.el
parentce1b6ae32ed139463b37ee8b6172c5ee128a829e (diff)
downloademacs-7ab91c5f4532a82db9dbfcfc8a991f3429f43610.tar.gz
(make-obsolete-variable): Fix docstring.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
-rw-r--r--lisp/emacs-lisp/byte-run.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 15377c033d9..a7385fe5fd0 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -91,9 +91,9 @@ was first made obsolete, for example a date or a release number."
fn)
(defun make-obsolete-variable (var new &optional when)
- "Make the byte-compiler warn that VARIABLE is obsolete,
-and NEW should be used instead. If NEW is a string, then that is the
-`use instead' message.
+ "Make the byte-compiler warn that VARIABLE is obsolete.
+The warning will say that NEW should be used instead.
+If NEW is a string, that is the `use instead' message.
If provided, WHEN should be a string indicating when the variable
was first made obsolete, for example a date or a release number."
(interactive