Mercurial > emacs
changeset 19306:974544be1a17
(c-electric-brace): Make preserve-p nil at BOB.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 11 Aug 1997 23:51:04 +0000 |
parents | 030c40d12288 |
children | 5745bc43cfe9 |
files | lisp/progmodes/cc-cmds.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cc-cmds.el Mon Aug 11 22:32:01 1997 +0000 +++ b/lisp/progmodes/cc-cmds.el Mon Aug 11 23:51:04 1997 +0000 @@ -196,7 +196,8 @@ 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