1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

(c-electric-paren): Call old-blink-paren only for close-paren.

This commit is contained in:
Richard M. Stallman 2005-09-25 23:58:28 +00:00
parent c283cff54c
commit 96fdce72bb

View File

@ -907,7 +907,8 @@ is nil."
;; be most disruptive. We'll blink it ourselves
;; afterwards.
(old-blink-paren blink-paren-function)
blink-paren-function)
blink-paren-function
(noblink (eq last-input-event ?\()))
(self-insert-command (prefix-numeric-value arg))
(if c-syntactic-indentation
(indent-according-to-mode))
@ -982,6 +983,7 @@ is nil."
(delete-region beg end))))
(and (not executing-kbd-macro)
old-blink-paren
(not noblink)
(funcall old-blink-paren))))))
(defun c-electric-continued-statement ()