summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/decorate/mode.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-06-19 00:28:47 -0700
committerGlenn Morris <rgm@gnu.org>2013-06-19 00:28:47 -0700
commit3883037ba56236b96a15489d476ac8fe42723648 (patch)
treed75a61811171ea63dee8fad3d932a339454fbd76 /lisp/cedet/semantic/decorate/mode.el
parent1d653303fc5be5f19d39a9e657eb805ec22fca26 (diff)
downloademacs-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/semantic/decorate/mode.el')
-rw-r--r--lisp/cedet/semantic/decorate/mode.el7
1 files changed, 3 insertions, 4 deletions
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."))
))
))