]> code.delx.au - gnu-emacs/commitdiff
(c-mode-menu): Don't presume c-subword-mode is bound.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Apr 2006 11:30:20 +0000 (11:30 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Apr 2006 11:30:20 +0000 (11:30 +0000)
lisp/ChangeLog
lisp/progmodes/cc-langs.el

index 045d14192edd12563db80a65fd7becb7de5eb82c..c3a1fd89a6425e8b379e6ed84891c618954cf02f 100644 (file)
@@ -1,7 +1,11 @@
+2006-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/cc-langs.el (c-mode-menu):
+       Don't presume c-subword-mode is bound.
+
 2006-04-13  Bill Wohler  <wohler@newt.com>
 
-       * cus-edit.el (customize-package-emacs-version-alist): Update
-       docstring.
+       * cus-edit.el (customize-package-emacs-version-alist): Update docstring.
        (customize-package-emacs-version): Use cdr instead of cadr now
        that alists use dotted pairs.
 
@@ -26,8 +30,8 @@
 
 2006-04-13  Carsten Dominik  <dominik@science.uva.nl>
 
-       * textmodes/org.el: (org-set-regexps-and-options,
-       org-get-current-options): Better names for the startup folding
+       * textmodes/org.el: (org-set-regexps-and-options)
+       (org-get-current-options): Better names for the startup folding
        options.
 
 2006-04-13  Thien-Thi Nguyen  <ttn@gnu.org>
@@ -37,8 +41,8 @@
 
 2006-04-12  Davis Herring  <herring@lanl.gov>  (tiny change)
 
-       * files.el (hack-one-local-variable-eval-safep): Recognize
-       `edebug-form-spec' for `put', but only if it passes
+       * files.el (hack-one-local-variable-eval-safep):
+       Recognize `edebug-form-spec' for `put', but only if it passes
        `edebug-basic-spec'.  Generalize `put' handling.
 
        * emacs-lisp/edebug.el (edebug-basic-spec): New function for
 
 2006-04-13  Carsten Dominik  <dominik@science.uva.nl>
 
-       * textmodes/org.el: (org-ctrl-c-ctrl-c): Improved documentation
-       string.
+       * textmodes/org.el: (org-ctrl-c-ctrl-c): Improve documentation string.
        (org-agenda-mouse-1-follows-link)
        (org-mouse-1-follows-link): New options.
-       (org-format-agenda-item): Fixed bug if TAGS is nil.
+       (org-format-agenda-item): Fix bug if TAGS is nil.
        (org-agenda-get-scheduled): Quote `priority' symbol in plist.
 
 2006-04-13  Nick Roberts  <nickrob@snap.net.nz>
index b02df16b4f5cb6d70c6b59452487149117b13b47..8120094f606d2dea2fa2c133468c74dad9c7b941 100644 (file)
@@ -267,7 +267,8 @@ the evaluated constant value at compile time."
        ["Hungry delete"         c-toggle-hungry-state
        :style toggle :selected c-hungry-delete-key]
        ["Subword mode"          c-subword-mode
-       :style toggle :selected c-subword-mode])))
+       :style toggle :selected (and (boundp 'c-subword-mode)
+                                     c-subword-mode)])))
 
 \f
 ;;; Syntax tables.