From: Sam Steingold Date: Fri, 9 May 2003 15:59:02 +0000 (+0000) Subject: (cvs-mode-find-file): Fixed the last patch's logic. X-Git-Tag: ttn-vms-21-2-B4~10223 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b33268a39471c028962523cd30da880af5d3ab8;p=emacs.git (cvs-mode-find-file): Fixed the last patch's logic. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 96e96693124..1051c609deb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2003-05-09 Sam Steingold + + * pcvs.el (cvs-mode-find-file): Fixed the last patch's logic. + 2003-05-09 Stefan Monnier * uniquify.el: Use the original buffer-name as `base' in place of the diff --git a/lisp/pcvs.el b/lisp/pcvs.el index 2ecae236f9b..b7dac609078 100644 --- a/lisp/pcvs.el +++ b/lisp/pcvs.el @@ -14,7 +14,7 @@ ;; (Jari Aalto+mail.emacs) jari.aalto@poboxes.com ;; Maintainer: (Stefan Monnier) monnier+lists/cvs/pcl@flint.cs.yale.edu ;; Keywords: CVS, version control, release management -;; Revision: $Id: pcvs.el,v 1.51 2003/04/20 22:03:00 sds Exp $ +;; Revision: $Id: pcvs.el,v 1.52 2003/05/01 00:46:41 monnier Exp $ ;; This file is part of GNU Emacs. @@ -1901,8 +1901,9 @@ With a prefix, opens the buffer in an OTHER window." (interactive (list last-input-event current-prefix-arg)) ;; If the event moves point, check that it moves it to a valid location. (when (and (/= (point) (progn (ignore-errors (mouse-set-point e)) (point))) - (memq (get-text-property (1- (line-end-position)) 'font-lock-face) - '(cvs-header-face cvs-filename-face))) + (not (memq (get-text-property (1- (line-end-position)) + 'font-lock-face) + '(cvs-header-face cvs-filename-face)))) (error "Not a file name")) (cvs-mode! (lambda (&optional rev)