Mercurial > emacs
diff lisp/progmodes/cc-mode.el @ 80822:6e4cf6b4a898
Stefan Monnier <monnier at iro.umontreal.ca>
(c-before-change): Use point-min rather than 1.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 28 Apr 2007 20:37:52 +0000 |
parents | a0da91c5a123 |
children | 5131a632194a 70bf32a0f523 |
line wrap: on
line diff
--- a/lisp/progmodes/cc-mode.el Sat Apr 28 20:37:14 2007 +0000 +++ b/lisp/progmodes/cc-mode.el Sat Apr 28 20:37:52 2007 +0000 @@ -522,7 +522,7 @@ (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