(show-paren-function): Change calls to syntax-after
for new way of returning the value.
This commit is contained in:
parent
b23b6fecf7
commit
d5d126ea02
1 changed files with 2 additions and 2 deletions
|
@ -139,8 +139,8 @@ in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time."
|
|||
(defun show-paren-function ()
|
||||
(if show-paren-mode
|
||||
(let ((oldpos (point))
|
||||
(dir (cond ((eq (car (syntax-after (1- (point)))) 5) -1)
|
||||
((eq (car (syntax-after (point))) 4) 1)))
|
||||
(dir (cond ((eq (car (syntax-after (1- (point)))) ?\)) -1)
|
||||
((eq (car (syntax-after (point))) ?\() 1)))
|
||||
pos mismatch face)
|
||||
;;
|
||||
;; Find the other end of the sexp.
|
||||
|
|
Loading…
Add table
Reference in a new issue