summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2005-10-24 16:10:42 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2005-10-24 16:10:42 +0000
commit38729cfb2ab9de5e65cb9d705ac3148edc46da42 (patch)
treef6330c21360311812355d9101bb15ffd20177e74 /lisp/emacs-lisp
parent0a3fde9d0ec1674b76917448ede1e405b63ce8cd (diff)
downloademacs-38729cfb2ab9de5e65cb9d705ac3148edc46da42.tar.gz
emacs-38729cfb2ab9de5e65cb9d705ac3148edc46da42.tar.bz2
emacs-38729cfb2ab9de5e65cb9d705ac3148edc46da42.zip
(macro-declaration-function): Add a `doc-string' declaration.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/byte-run.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index c31036f02ed..453bef5ecbb 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -50,6 +50,8 @@ The return value of this function is not used."
(put macro 'lisp-indent-function (car (cdr d))))
((and (consp d) (eq (car d) 'debug))
(put macro 'edebug-form-spec (car (cdr d))))
+ ((and (consp d) (eq (car d) 'doc-string))
+ (put macro 'doc-string-elt (car (cdr d))))
(t
(message "Unknown declaration %s" d))))))