1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00

(blink-matching-open): Strip extra info from syntax.

This commit is contained in:
Stefan Monnier 2005-01-18 20:50:43 +00:00
parent 926787bea1
commit 14b495ffb1

View File

@ -1,7 +1,7 @@
;;; simple.el --- basic editing commands for Emacs
;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
;; 2000, 2001, 2002, 2003, 2004
;; 2000, 2001, 2002, 2003, 2004, 2005
;; Free Software Foundation, Inc.
;; Maintainer: FSF
@ -4001,7 +4001,7 @@ when it is off screen)."
(setq matching-paren
(let ((syntax (syntax-after blinkpos)))
(and (consp syntax)
(eq (car syntax) 4)
(eq (logand (car syntax) 255) 4)
(cdr syntax)))
mismatch
(or (null matching-paren)