mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-07 15:21:46 +00:00
(vc-find-file-hook): Use with-demoted-errors.
This commit is contained in:
parent
be436d23c7
commit
fc8b8d0fb5
@ -1,3 +1,7 @@
|
||||
2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.
|
||||
|
||||
2007-07-12 Davis Herring <herring@lanl.gov>
|
||||
|
||||
* desktop.el (desktop-buffer-info, desktop-save):
|
||||
|
@ -793,7 +793,7 @@ current, and kill the buffer that visits the link."
|
||||
(when buffer-file-name
|
||||
(vc-file-clearprops buffer-file-name)
|
||||
(cond
|
||||
((vc-backend buffer-file-name)
|
||||
((with-demoted-errors (vc-backend buffer-file-name))
|
||||
;; Compute the state and put it in the modeline.
|
||||
(vc-mode-line buffer-file-name)
|
||||
(unless vc-make-backup-files
|
||||
|
Loading…
Reference in New Issue
Block a user