mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(cvs-mode-map): Map follow-link to a function which
checks if position is in a filename, rather than some other clickable item. Function looks for cvs-filename-face at position.
This commit is contained in:
parent
d8fac80103
commit
d086b1a249
@ -380,6 +380,8 @@ This variable is buffer local and only used in the *cvs* buffer.")
|
||||
("+" . cvs-mode-tree)
|
||||
;; mouse bindings
|
||||
([mouse-2] . cvs-mode-find-file)
|
||||
([follow-link] . (lambda (pos)
|
||||
(if (eq (get-char-property pos 'face) 'cvs-filename-face) t)))
|
||||
([(down-mouse-3)] . cvs-menu)
|
||||
;; dired-like bindings
|
||||
("\C-o" . cvs-mode-display-file)
|
||||
|
Loading…
Reference in New Issue
Block a user