aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-04-28 20:37:52 +0000
committerGlenn Morris2007-04-28 20:37:52 +0000
commit52ce07055e7f304daa5913ea74a762047a56899a (patch)
tree174994c25335d884aafbc991f17ed57967f78cf9
parent161039c9cfc7ee4dca5af7a9cdd8bffc4de515eb (diff)
downloademacs-52ce07055e7f304daa5913ea74a762047a56899a.tar.gz
emacs-52ce07055e7f304daa5913ea74a762047a56899a.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