aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2002-09-13 18:25:26 +0000
committerStefan Monnier2002-09-13 18:25:26 +0000
commit595015bbf8225865b18db2efca387e90846599e9 (patch)
treebd29b9e9e1f13920497c5576692d02e1ea33e196
parent4745e7383364deebade9f35e8d421ab6bd1f8874 (diff)
downloademacs-595015bbf8225865b18db2efca387e90846599e9.tar.gz
emacs-595015bbf8225865b18db2efca387e90846599e9.zip
(cvs-mode-find-file): Work even if point is at beg-of-line.
-rw-r--r--lisp/pcvs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/pcvs.el b/lisp/pcvs.el
index b1ec3d72b31..3483adb1dde 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.38 2002/06/25 00:11:28 monnier Exp $ 17;; Revision: $Id: pcvs.el,v 1.39 2002/09/03 01:40:29 monnier Exp $
18 18
19;; This file is part of GNU Emacs. 19;; This file is part of GNU Emacs.
20 20
@@ -1888,7 +1888,7 @@ This command ignores files that are not flagged as `Unknown'."
1888With a prefix, opens the buffer in an OTHER window." 1888With a prefix, opens the buffer in an OTHER window."
1889 (interactive (list last-input-event current-prefix-arg)) 1889 (interactive (list last-input-event current-prefix-arg))
1890 (when (ignore-errors (mouse-set-point e) t) ;for invocation via the mouse 1890 (when (ignore-errors (mouse-set-point e) t) ;for invocation via the mouse
1891 (unless (memq (get-text-property (point) 'face) 1891 (unless (memq (get-text-property (1- (line-end-position)) 'face)
1892 '(cvs-header-face cvs-filename-face)) 1892 '(cvs-header-face cvs-filename-face))
1893 (error "Not a file name"))) 1893 (error "Not a file name")))
1894 (cvs-mode! 1894 (cvs-mode!