1
0
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:
Stefan Monnier 2007-07-13 04:46:37 +00:00
parent be436d23c7
commit fc8b8d0fb5
2 changed files with 5 additions and 1 deletions

View File

@ -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):

View File

@ -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