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: Mon, 22 Nov 2004 01:06:42 -0500

Index: emacs/lisp/paren.el
diff -c emacs/lisp/paren.el:1.57 emacs/lisp/paren.el:1.58
*** emacs/lisp/paren.el:1.57    Mon Nov  8 16:45:17 2004
--- emacs/lisp/paren.el Mon Nov 22 06:00:51 2004
***************
*** 1,6 ****
  ;;; paren.el --- highlight matching paren
  
! ;; Copyright (C) 1993, 1996, 2001 Free Software Foundation, Inc.
  
  ;; Author: address@hidden
  ;; Maintainer: FSF
--- 1,6 ----
  ;;; paren.el --- highlight matching paren
  
! ;; Copyright (C) 1993, 1996, 2001, 2004  Free Software Foundation, Inc.
  
  ;; Author: address@hidden
  ;; Maintainer: FSF
***************
*** 139,146 ****
  (defun show-paren-function ()
    (if show-paren-mode
        (let ((oldpos (point))
!           (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.
--- 139,146 ----
  (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)))
            pos mismatch face)
        ;;
        ;; Find the other end of the sexp.
***************
*** 246,250 ****
  
  (provide 'paren)
  
! ;;; arch-tag: d0969b88-7ac0-4bd0-bd53-e73b892b86a9
  ;;; paren.el ends here
--- 246,250 ----
  
  (provide 'paren)
  
! ;; arch-tag: d0969b88-7ac0-4bd0-bd53-e73b892b86a9
  ;;; paren.el ends here




reply via email to

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