Mercurial > emacs
changeset 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 | b3612f6b331d |
children | 135e9194130f |
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: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