summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2005-10-24 16:47:53 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2005-10-24 16:47:53 +0000
commit8c6fac61df48f6d6a2238adb81c584a9393ea00b (patch)
treeb0657df4dd7016c58fdaf0b40dac2be038a8074c
parent79e74246bca5fd779b89524c3d15a97abb1523d6 (diff)
downloademacs-8c6fac61df48f6d6a2238adb81c584a9393ea00b.tar.gz
emacs-8c6fac61df48f6d6a2238adb81c584a9393ea00b.tar.bz2
emacs-8c6fac61df48f6d6a2238adb81c584a9393ea00b.zip
(easy-mmode-define-global-mode): Don't add a dummy doc-string-elt property.
(defalias, defvaralias, define-category): Add a docstring property.
-rw-r--r--lisp/emacs-lisp/lisp-mode.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index c93eb0e62c4..b9a73218322 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -142,12 +142,13 @@
(put 'easy-mmode-define-minor-mode 'doc-string-elt 2)
(put 'define-minor-mode 'doc-string-elt 2)
(put 'define-generic-mode 'doc-string-elt 7)
-;; define-global-mode has no explicit docstring.
-(put 'easy-mmode-define-global-mode 'doc-string-elt 0)
(put 'define-ibuffer-filter 'doc-string-elt 2)
(put 'define-ibuffer-op 'doc-string-elt 3)
(put 'define-ibuffer-sorter 'doc-string-elt 2)
(put 'lambda 'doc-string-elt 2)
+(put 'defalias 'doc-string-elt 3)
+(put 'defvaralias 'doc-string-elt 3)
+(put 'define-category 'doc-string-elt 2)
(defvar lisp-doc-string-elt-property 'doc-string-elt
"The symbol property that holds the docstring position info.")