From 52ce07055e7f304daa5913ea74a762047a56899a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 28 Apr 2007 20:37:52 +0000 Subject: [PATCH] Stefan Monnier (c-before-change): Use point-min rather than 1. --- lisp/progmodes/cc-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2