aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-04-28 20:39:11 +0000
committerGlenn Morris2007-04-28 20:39:11 +0000
commit46ff758022cf98c8433f1e824388a8ffc6df5612 (patch)
tree96465d267061745c8ca3ff68097169a5138b9532
parent39ee99e1aeee2a0c02aa83be90ee70ea88038e7d (diff)
downloademacs-46ff758022cf98c8433f1e824388a8ffc6df5612.tar.gz
emacs-46ff758022cf98c8433f1e824388a8ffc6df5612.zip
Stefan Monnier <monnier at iro.umontreal.ca>
(c-before-change): Use point-min rather than 1.
-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 c3c17a6f3c5..390d49eaea4 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."
522 (setq lim (max (point-min) (1- (point)))) 522 (setq lim (max (point-min) (1- (point))))
523 523
524 ;; Look for the latest `c-type' property before end1 524 ;; Look for the latest `c-type' property before end1
525 (when (and (> end1 1) 525 (when (and (> end1 (point-min))
526 (setq type-pos 526 (setq type-pos
527 (if (get-text-property (1- end1) 'c-type) 527 (if (get-text-property (1- end1) 'c-type)
528 end1 528 end1