diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-05-06 13:58:30 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-05-06 13:58:30 +0000 |
commit | 824c61ddc607ae740b244d8cee999defc3eae7a0 (patch) | |
tree | ba52e88a2436c2d22a8cb052bf82331d7778f2a4 /lisp/emacs-lisp/advice.el | |
parent | f8daddcffbc9e2bd3e57874880ca40acf9943ef2 (diff) | |
download | emacs-824c61ddc607ae740b244d8cee999defc3eae7a0.tar.gz emacs-824c61ddc607ae740b244d8cee999defc3eae7a0.tar.bz2 emacs-824c61ddc607ae740b244d8cee999defc3eae7a0.zip |
(ad-make-advised-docstring): Adjust usage for new help-add-fundoc-usage.
Diffstat (limited to 'lisp/emacs-lisp/advice.el')
-rw-r--r-- | lisp/emacs-lisp/advice.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index a211e1ebba1..bc047802720 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el @@ -3005,7 +3005,7 @@ in any of these classes." (ad-real-documentation origdef t)) (usage (help-split-fundoc origdoc function)) paragraphs advice-docstring ad-usage) - (if usage (setq origdoc (cdr usage) usage (car usage))) + (setq usage (if (null usage) t (setq origdoc (cdr usage)) (car usage))) (if origdoc (setq paragraphs (list origdoc))) (unless (eq style 'plain) (push (concat "This " origtype " is advised.") paragraphs)) |