# HG changeset patch # User Glenn Morris # Date 1177792672 0 # Node ID 6e4cf6b4a8983305c910ebeb7a3641baa72345fe # Parent b3612f6b331d7cecfc59f22e23cde7deb2e0cceb Stefan Monnier (c-before-change): Use point-min rather than 1. diff -r b3612f6b331d -r 6e4cf6b4a898 lisp/progmodes/cc-mode.el --- 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