Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f3d57a2c
Commit
f3d57a2c
authored
Mar 29, 2008
by
Dan Nicolaescu
Browse files
(vc-menu-map-filter): Be more careful when finding
the current backend.
parent
dc7f8d57
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/vc-hooks.el
lisp/vc-hooks.el
+6
-2
No files found.
lisp/ChangeLog
View file @
f3d57a2c
2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
* vc-hooks.el (vc-menu-map-filter): Be more careful when finding
the current backend.
2008-03-29 Glenn Morris <rgm@gnu.org>
* calendar/calendar.el (diary-file, american-date-diary-pattern)
...
...
lisp/vc-hooks.el
View file @
f3d57a2c
...
...
@@ -1064,8 +1064,12 @@ Used in `find-file-not-found-functions'."
(
if
(
and
(
symbolp
orig-binding
)
(
fboundp
orig-binding
))
(
setq
orig-binding
(
indirect-function
orig-binding
)))
(
let
((
ext-binding
(
if
vc-mode
(
vc-call-backend
(
vc-backend
buffer-file-name
)
'extra-menu
))))
(
when
vc-mode
(
vc-call-backend
(
if
buffer-file-name
(
vc-backend
buffer-file-name
)
(
vc-responsible-backend
default-directory
))
'extra-menu
))))
;; Give the VC backend a chance to add menu entries
;; specific for that backend.
(
if
(
null
ext-binding
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment