diff options
Diffstat (limited to 'lisp')
| -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.")) )) )) |
