changeset 66404:48fff88992ce

(easy-mmode-define-global-mode): Don't add a dummy doc-string-elt property. (defalias, defvaralias, define-category): Add a docstring property.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 24 Oct 2005 16:47:53 +0000
parents 6d02f0b72652
children 436739baf9f1
files lisp/emacs-lisp/lisp-mode.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el	Mon Oct 24 16:44:55 2005 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Mon Oct 24 16:47:53 2005 +0000
@@ -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.")