Mercurial > emacs
changeset 77612:5562ebba19df
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:39:11 +0000 |
parents | 3276457694ac |
children | 6f5371bb5c70 |
files | lisp/progmodes/cc-mode.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cc-mode.el Sat Apr 28 20:30:15 2007 +0000 +++ b/lisp/progmodes/cc-mode.el Sat Apr 28 20:39:11 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