From: Glenn Morris Date: Sat, 28 Apr 2007 20:37:52 +0000 (+0000) Subject: Stefan Monnier X-Git-Tag: emacs-pretest-23.0.90~12755 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=52ce07055e7f304daa5913ea74a762047a56899a;p=emacs.git Stefan Monnier (c-before-change): Use point-min rather than 1. --- 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." (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