# HG changeset patch # User Glenn Morris # Date 1177792751 0 # Node ID 5562ebba19df13c0f6ee82aea91a83d1ba951d42 # Parent 3276457694acb7a3ae2087a63a6d7836307d3343 Stefan Monnier (c-before-change): Use point-min rather than 1. diff -r 3276457694ac -r 5562ebba19df lisp/progmodes/cc-mode.el --- 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