aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2003-05-06 13:58:30 +0000
committerStefan Monnier2003-05-06 13:58:30 +0000
commit824c61ddc607ae740b244d8cee999defc3eae7a0 (patch)
treeba52e88a2436c2d22a8cb052bf82331d7778f2a4
parentf8daddcffbc9e2bd3e57874880ca40acf9943ef2 (diff)
downloademacs-824c61ddc607ae740b244d8cee999defc3eae7a0.tar.gz
emacs-824c61ddc607ae740b244d8cee999defc3eae7a0.zip
(ad-make-advised-docstring): Adjust usage for new help-add-fundoc-usage.
-rw-r--r--lisp/emacs-lisp/advice.el2
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."
3005 (ad-real-documentation origdef t)) 3005 (ad-real-documentation origdef t))
3006 (usage (help-split-fundoc origdoc function)) 3006 (usage (help-split-fundoc origdoc function))
3007 paragraphs advice-docstring ad-usage) 3007 paragraphs advice-docstring ad-usage)
3008 (if usage (setq origdoc (cdr usage) usage (car usage))) 3008 (setq usage (if (null usage) t (setq origdoc (cdr usage)) (car usage)))
3009 (if origdoc (setq paragraphs (list origdoc))) 3009 (if origdoc (setq paragraphs (list origdoc)))
3010 (unless (eq style 'plain) 3010 (unless (eq style 'plain)
3011 (push (concat "This " origtype " is advised.") paragraphs)) 3011 (push (concat "This " origtype " is advised.") paragraphs))