diff options
| author | Stefan Monnier | 2008-03-26 02:36:45 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-03-26 02:36:45 +0000 |
| commit | 67af6bdd7bd5a144f2d06fb70042ee00c582ac14 (patch) | |
| tree | 5eb011da3e855c34a05325ca0a4d33d30a17efaa | |
| parent | 1ba1a8b97269cb615b17357260f2e6f7ca6e2af7 (diff) | |
| download | emacs-67af6bdd7bd5a144f2d06fb70042ee00c582ac14.tar.gz emacs-67af6bdd7bd5a144f2d06fb70042ee00c582ac14.zip | |
(describe-function-1, describe-variable): If no
replacement is provided, don't print "use nil instead".
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/help-fns.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 74c0df45635..a54e2272d47 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * help-fns.el (describe-function-1, describe-variable): If no | ||
| 4 | replacement is provided, don't print "use nil instead". | ||
| 5 | |||
| 1 | 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 6 | 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> |
| 2 | 7 | ||
| 3 | * proced.el: Update copyright. | 8 | * proced.el: Update copyright. |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index dd25fcece1d..ed6a6a8d10a 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -431,7 +431,8 @@ face (according to `face-differs-from-default-p')." | |||
| 431 | (insert (format " since %s" (nth 2 obsolete)))) | 431 | (insert (format " since %s" (nth 2 obsolete)))) |
| 432 | (insert ";\n" | 432 | (insert ";\n" |
| 433 | (if (stringp (car obsolete)) (car obsolete) | 433 | (if (stringp (car obsolete)) (car obsolete) |
| 434 | (format "use `%s' instead." (car obsolete))) | 434 | (if (null (car obsolete)) "" |
| 435 | (format "use `%s' instead." (car obsolete)))) | ||
| 435 | "\n")) | 436 | "\n")) |
| 436 | (insert "\n" | 437 | (insert "\n" |
| 437 | (or doc "Not documented."))))))) | 438 | (or doc "Not documented."))))))) |
| @@ -662,7 +663,8 @@ it is displayed along with the global value." | |||
| 662 | (if (cdr obsolete) (princ (format " since %s" (cdr obsolete)))) | 663 | (if (cdr obsolete) (princ (format " since %s" (cdr obsolete)))) |
| 663 | (princ ";\n ") | 664 | (princ ";\n ") |
| 664 | (princ (if (stringp (car obsolete)) (car obsolete) | 665 | (princ (if (stringp (car obsolete)) (car obsolete) |
| 665 | (format "use `%s' instead." (car obsolete)))) | 666 | (if (null (car obsolete)) "" |
| 667 | (format "use `%s' instead." (car obsolete))))) | ||
| 666 | (terpri)) | 668 | (terpri)) |
| 667 | (when safe-var | 669 | (when safe-var |
| 668 | (setq extra-line t) | 670 | (setq extra-line t) |