aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorStefan Monnier2006-04-14 11:30:20 +0000
committerStefan Monnier2006-04-14 11:30:20 +0000
commit58bd87402ed95e8943f17e1e68fbae96997da2a6 (patch)
treee34927e55d3f52e3984dd4f7ff76acef107c2c11 /lisp/progmodes
parent50b7bce06860f5aede4a7aa60780afeb488d0a6b (diff)
downloademacs-58bd87402ed95e8943f17e1e68fbae96997da2a6.tar.gz
emacs-58bd87402ed95e8943f17e1e68fbae96997da2a6.zip
(c-mode-menu): Don't presume c-subword-mode is bound.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-langs.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index b02df16b4f5..8120094f606 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -267,7 +267,8 @@ the evaluated constant value at compile time."
267 ["Hungry delete" c-toggle-hungry-state 267 ["Hungry delete" c-toggle-hungry-state
268 :style toggle :selected c-hungry-delete-key] 268 :style toggle :selected c-hungry-delete-key]
269 ["Subword mode" c-subword-mode 269 ["Subword mode" c-subword-mode
270 :style toggle :selected c-subword-mode]))) 270 :style toggle :selected (and (boundp 'c-subword-mode)
271 c-subword-mode)])))
271 272
272 273
273;;; Syntax tables. 274;;; Syntax tables.