Commit 46ff7580 authored by Glenn Morris's avatar Glenn Morris
Browse files

Stefan Monnier <monnier at>

(c-before-change): Use point-min rather than 1.
parent 39ee99e1
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment