# HG changeset patch # User Stefan Monnier # Date 1130170242 0 # Node ID 768dad162d9ebcb4ef2688bb0c35adf32109a69f # Parent afc5a296f79dd19b2c9c0a144f3f6ca641aaf184 (macro-declaration-function): Add a `doc-string' declaration. diff -r afc5a296f79d -r 768dad162d9e lisp/emacs-lisp/byte-run.el --- a/lisp/emacs-lisp/byte-run.el Mon Oct 24 14:59:42 2005 +0000 +++ b/lisp/emacs-lisp/byte-run.el Mon Oct 24 16:10:42 2005 +0000 @@ -50,6 +50,8 @@ (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))))))