aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-11 23:51:04 +0000
committerRichard M. Stallman1997-08-11 23:51:04 +0000
commit811fd07a2fb5a79db5fbb57b7da53d47875c59e4 (patch)
tree1a807160c5434e3a7ba1ffceb7f69506d1a57dd8
parent9b8ef27dedb6746a5c42a6a6841c14202e6cd0b7 (diff)
downloademacs-811fd07a2fb5a79db5fbb57b7da53d47875c59e4.tar.gz
emacs-811fd07a2fb5a79db5fbb57b7da53d47875c59e4.zip
(c-electric-brace): Make preserve-p nil at BOB.
-rw-r--r--lisp/progmodes/cc-cmds.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index cd235fdf100..46d5747f9d0 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -196,7 +196,8 @@ the brace is inserted inside a literal."
196 blink-paren-function 196 blink-paren-function
197 (insertion-point (point)) 197 (insertion-point (point))
198 delete-temp-newline 198 delete-temp-newline
199 (preserve-p (eq ?\ (char-syntax (char-before)))) 199 (preserve-p (and (not (bobp))
200 (eq ?\ (char-syntax (char-before)))))
200 ;; shut this up too 201 ;; shut this up too
201 (c-echo-syntactic-information-p nil) 202 (c-echo-syntactic-information-p nil)
202 (syntax (progn 203 (syntax (progn