diff options
author | Glenn Morris <rgm@gnu.org> | 2013-06-19 00:28:47 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-06-19 00:28:47 -0700 |
commit | 3883037ba56236b96a15489d476ac8fe42723648 (patch) | |
tree | d75a61811171ea63dee8fad3d932a339454fbd76 /lisp/cedet | |
parent | 1d653303fc5be5f19d39a9e657eb805ec22fca26 (diff) | |
download | emacs-3883037ba56236b96a15489d476ac8fe42723648.tar.gz |
cedet/semantic/decorate/mode.el autoload tweak
* cedet/semantic/decorate/mode.el (define-semantic-decoration-style): Doc fix.
(define-semantic-decoration-style): 'function is not an accepted
value for autoload's "type" argument. Might as well use the default.
Diffstat (limited to 'lisp/cedet')
-rw-r--r-- | lisp/cedet/ChangeLog | 7 | ||||
-rw-r--r-- | lisp/cedet/semantic/decorate/mode.el | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 1884df83a4a..ec5c5840aba 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,3 +1,10 @@ +2013-06-19 Glenn Morris <rgm@gnu.org> + + * semantic/decorate/mode.el (define-semantic-decoration-style): + Doc fix. + (define-semantic-decoration-style): 'function is not an accepted + value for autoload's "type" argument. Might as well use the default. + 2013-06-18 Glenn Morris <rgm@gnu.org> * semantic/ctxt.el (semantic-ctxt-end-of-symbol-default): diff --git a/lisp/cedet/semantic/decorate/mode.el b/lisp/cedet/semantic/decorate/mode.el index a4aa535eb1a..ba06c73936b 100644 --- a/lisp/cedet/semantic/decorate/mode.el +++ b/lisp/cedet/semantic/decorate/mode.el @@ -374,7 +374,7 @@ IGNORE any input arguments." "Define a new decoration style with NAME. DOC is a documentation string describing the decoration style NAME. It is appended to auto-generated doc strings. -An Optional list of FLAGS can also be specified. Flags are: +An optional list of FLAGS can also be specified. Flags are: :enabled <value> - specify the default enabled value for NAME. :load <value> - specify a feature (as a string) with the rest of the definition for decoration mode NAME. @@ -428,11 +428,10 @@ decoration API found in this library." (when (stringp ,loadfile) (unless (fboundp ',predicatedef) (autoload ',predicatedef ',loadfile "Return non-nil to decorate TAG." - nil 'function)) + )) (unless (fboundp ',highlighterdef) - (autoload ',highlighterdef ',loadfile "Decorate TAG." - nil 'function)) + (autoload ',highlighterdef ',loadfile "Decorate TAG.")) )) )) |