emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/paren.el [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/paren.el [emacs-unicode-2]
Date: Mon, 28 Jun 2004 04:36:20 -0400

Index: emacs/lisp/paren.el
diff -c emacs/lisp/paren.el:1.54.6.1 emacs/lisp/paren.el:1.54.6.2
*** emacs/lisp/paren.el:1.54.6.1        Fri Apr 16 12:50:08 2004
--- emacs/lisp/paren.el Mon Jun 28 07:28:43 2004
***************
*** 91,96 ****
--- 91,99 ----
    :group 'faces
    :group 'paren-showing)
  
+ (defvar show-paren-highlight-openparen t
+   "*Non-nil turns on openparen highlighting when matching forward.")
+ 
  (defvar show-paren-idle-timer nil)
  
  ;;;###autoload
***************
*** 195,201 ****
          ;; If matching forward, and the openparen is unbalanced,
          ;; highlight the paren at point to indicate misbalance.
          ;; Otherwise, turn off any such highlighting.
!         (if (and (= dir 1) (integerp pos))
              (when (and show-paren-overlay-1
                         (overlay-buffer show-paren-overlay-1))
                (delete-overlay show-paren-overlay-1))
--- 198,204 ----
          ;; If matching forward, and the openparen is unbalanced,
          ;; highlight the paren at point to indicate misbalance.
          ;; Otherwise, turn off any such highlighting.
!         (if (and (not show-paren-highlight-openparen) (= dir 1) (integerp 
pos))
              (when (and show-paren-overlay-1
                         (overlay-buffer show-paren-overlay-1))
                (delete-overlay show-paren-overlay-1))




reply via email to

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