From 3883037ba56236b96a15489d476ac8fe42723648 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 19 Jun 2013 00:28:47 -0700 Subject: [PATCH] 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. --- lisp/cedet/ChangeLog | 7 +++++++ 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 1884df83a4..ec5c5840ab 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,3 +1,10 @@ +2013-06-19 Glenn Morris + + * 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 * 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 a4aa535eb1..ba06c73936 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 - specify the default enabled value for NAME. :load - 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.")) )) )) -- 2.39.2