emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: blink-matching-open and beginning-of-defun.


From: Richard M. Stallman
Subject: Re: blink-matching-open and beginning-of-defun.
Date: Sat, 24 Sep 2005 03:04:40 -0400

Does this change make it work right?

*** cc-cmds.el  01 Aug 2005 11:11:09 -0400      1.40
--- cc-cmds.el  23 Sep 2005 18:41:44 -0400      
***************
*** 907,913 ****
             ;; be most disruptive.  We'll blink it ourselves
             ;; afterwards.
             (old-blink-paren blink-paren-function)
!            blink-paren-function)
        (self-insert-command (prefix-numeric-value arg))
        (if c-syntactic-indentation
            (indent-according-to-mode))
--- 907,914 ----
             ;; be most disruptive.  We'll blink it ourselves
             ;; afterwards.
             (old-blink-paren 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,987 ****
--- 983,989 ----
                 (delete-region beg end))))
        (and (not executing-kbd-macro)
             old-blink-paren
+            (not noblink)
             (funcall old-blink-paren))))))
  
  (defun c-electric-continued-statement ()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]