Mercurial > emacs
comparison lisp/paren.el @ 90044:cb7f41387eb3
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-70
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-669
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-678
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-679
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-680
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-688
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-689
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-690
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-691
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-69
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-70
- miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-71
Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Fri, 12 Nov 2004 02:53:04 +0000 |
parents | 4c90ffeb71c5 286ed823f2b0 |
children | f2ebccfa87d4 |
comparison
equal
deleted
inserted
replaced
90043:e24e2e78deda | 90044:cb7f41387eb3 |
---|---|
137 ;; Find the place to show, if there is one, | 137 ;; Find the place to show, if there is one, |
138 ;; and show it until input arrives. | 138 ;; and show it until input arrives. |
139 (defun show-paren-function () | 139 (defun show-paren-function () |
140 (if show-paren-mode | 140 (if show-paren-mode |
141 (let ((oldpos (point)) | 141 (let ((oldpos (point)) |
142 (dir (cond ((eq (car (syntax-after (1- (point)))) 5) -1) | 142 (dir (cond ((eq (car (syntax-after (1- (point)))) ?\)) -1) |
143 ((eq (car (syntax-after (point))) 4) 1))) | 143 ((eq (car (syntax-after (point))) ?\() 1))) |
144 pos mismatch face) | 144 pos mismatch face) |
145 ;; | 145 ;; |
146 ;; Find the other end of the sexp. | 146 ;; Find the other end of the sexp. |
147 (when dir | 147 (when dir |
148 (save-excursion | 148 (save-excursion |