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


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/paren.el
Date: Sun, 20 Nov 2005 13:07:19 -0500

Index: emacs/lisp/paren.el
diff -c emacs/lisp/paren.el:1.64 emacs/lisp/paren.el:1.65
*** emacs/lisp/paren.el:1.64    Sat Aug  6 22:13:43 2005
--- emacs/lisp/paren.el Sun Nov 20 18:07:19 2005
***************
*** 181,187 ****
                                       (cdr (syntax-after beg)))
                                   (eq (char-after beg)
                                       ;; This can give nil.
!                                      (cdr (syntax-after (1- end)))))))))))))
        ;;
        ;; Highlight the other end of the sexp, or unhighlight if none.
        (if (not pos)
--- 181,192 ----
                                       (cdr (syntax-after beg)))
                                   (eq (char-after beg)
                                       ;; This can give nil.
!                                      (cdr (syntax-after (1- end))))
!                                    ;; The cdr might hold a new paren-class
!                                    ;; info rather than a matching-char info,
!                                    ;; in which case the two CDRs should match.
!                                    (eq (cdr (syntax-after (1- end)))
!                                        (cdr (syntax-after beg))))))))))))
        ;;
        ;; Highlight the other end of the sexp, or unhighlight if none.
        (if (not pos)




reply via email to

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