diff options
| author | Sam Steingold | 2003-05-09 15:59:02 +0000 |
|---|---|---|
| committer | Sam Steingold | 2003-05-09 15:59:02 +0000 |
| commit | 7b33268a39471c028962523cd30da880af5d3ab8 (patch) | |
| tree | e8c3890c21f9d7755548934870b6dceba16d81dc | |
| parent | 89c52be24c3c9a757f4a5ddd7d96cd7d3385fb58 (diff) | |
| download | emacs-7b33268a39471c028962523cd30da880af5d3ab8.tar.gz emacs-7b33268a39471c028962523cd30da880af5d3ab8.zip | |
(cvs-mode-find-file): Fixed the last patch's logic.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/pcvs.el | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 96e96693124..1051c609deb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2003-05-09 Sam Steingold <sds@gnu.org> | ||
| 2 | |||
| 3 | * pcvs.el (cvs-mode-find-file): Fixed the last patch's logic. | ||
| 4 | |||
| 1 | 2003-05-09 Stefan Monnier <monnier@cs.yale.edu> | 5 | 2003-05-09 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 6 | ||
| 3 | * uniquify.el: Use the original buffer-name as `base' in place of the | 7 | * 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 @@ | |||
| 14 | ;; (Jari Aalto+mail.emacs) jari.aalto@poboxes.com | 14 | ;; (Jari Aalto+mail.emacs) jari.aalto@poboxes.com |
| 15 | ;; Maintainer: (Stefan Monnier) monnier+lists/cvs/pcl@flint.cs.yale.edu | 15 | ;; Maintainer: (Stefan Monnier) monnier+lists/cvs/pcl@flint.cs.yale.edu |
| 16 | ;; Keywords: CVS, version control, release management | 16 | ;; Keywords: CVS, version control, release management |
| 17 | ;; Revision: $Id: pcvs.el,v 1.51 2003/04/20 22:03:00 sds Exp $ | 17 | ;; Revision: $Id: pcvs.el,v 1.52 2003/05/01 00:46:41 monnier Exp $ |
| 18 | 18 | ||
| 19 | ;; This file is part of GNU Emacs. | 19 | ;; This file is part of GNU Emacs. |
| 20 | 20 | ||
| @@ -1901,8 +1901,9 @@ With a prefix, opens the buffer in an OTHER window." | |||
| 1901 | (interactive (list last-input-event current-prefix-arg)) | 1901 | (interactive (list last-input-event current-prefix-arg)) |
| 1902 | ;; If the event moves point, check that it moves it to a valid location. | 1902 | ;; If the event moves point, check that it moves it to a valid location. |
| 1903 | (when (and (/= (point) (progn (ignore-errors (mouse-set-point e)) (point))) | 1903 | (when (and (/= (point) (progn (ignore-errors (mouse-set-point e)) (point))) |
| 1904 | (memq (get-text-property (1- (line-end-position)) 'font-lock-face) | 1904 | (not (memq (get-text-property (1- (line-end-position)) |
| 1905 | '(cvs-header-face cvs-filename-face))) | 1905 | 'font-lock-face) |
| 1906 | '(cvs-header-face cvs-filename-face)))) | ||
| 1906 | (error "Not a file name")) | 1907 | (error "Not a file name")) |
| 1907 | (cvs-mode! | 1908 | (cvs-mode! |
| 1908 | (lambda (&optional rev) | 1909 | (lambda (&optional rev) |