mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(c-electric-paren): Call old-blink-paren only for close-paren.
This commit is contained in:
parent
c283cff54c
commit
96fdce72bb
1 changed files with 3 additions and 1 deletions
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue