Commit 811fd07a authored by Richard M. Stallman's avatar Richard M. Stallman

(c-electric-brace): Make preserve-p nil at BOB.

parent 9b8ef27d
......@@ -196,7 +196,8 @@ the brace is inserted inside a literal."
blink-paren-function
(insertion-point (point))
delete-temp-newline
(preserve-p (eq ?\ (char-syntax (char-before))))
(preserve-p (and (not (bobp))
(eq ?\ (char-syntax (char-before)))))
;; shut this up too
(c-echo-syntactic-information-p nil)
(syntax (progn
......
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