aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/cc-mode.el
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-04-28 20:39:11 +0000
committerGlenn Morris <[email protected]>2007-04-28 20:39:11 +0000
commit46ff758022cf98c8433f1e824388a8ffc6df5612 (patch)
tree96465d267061745c8ca3ff68097169a5138b9532 /lisp/progmodes/cc-mode.el
parent39ee99e1aeee2a0c02aa83be90ee70ea88038e7d (diff)
Stefan Monnier <monnier at iro.umontreal.ca>
(c-before-change): Use point-min rather than 1.
Diffstat (limited to 'lisp/progmodes/cc-mode.el')
-rw-r--r--lisp/progmodes/cc-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index c3c17a6f3c..390d49eaea 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -522,7 +522,7 @@ preferably use the `c-mode-menu' language constant directly."
(setq lim (max (point-min) (1- (point))))
;; Look for the latest `c-type' property before end1
- (when (and (> end1 1)
+ (when (and (> end1 (point-min))
(setq type-pos
(if (get-text-property (1- end1) 'c-type)
end1