diff options
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | lisp/vc-hooks.el | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0d97b7b6ea5..dc0c05462c8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | * vc-bzr.el: New file (copied from the trunk). | 3 | * vc-bzr.el: New file (copied from the trunk). |
| 4 | 4 | ||
| 5 | * vc-hooks.el (vc-handled-backends): Add BZR. | 5 | * vc-hooks.el (vc-handled-backends): Add BZR. |
| 6 | (vc-find-file-hook): Failsafe if the backend's `registered' function burps. | ||
| 6 | 7 | ||
| 7 | * server.el (server-window): Add switch-to-buffer-other-frame option. | 8 | * server.el (server-window): Add switch-to-buffer-other-frame option. |
| 8 | 9 | ||
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 3afc3468e02..00c7f09f345 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -787,7 +787,7 @@ current, and kill the buffer that visits the link." | |||
| 787 | (when buffer-file-name | 787 | (when buffer-file-name |
| 788 | (vc-file-clearprops buffer-file-name) | 788 | (vc-file-clearprops buffer-file-name) |
| 789 | (cond | 789 | (cond |
| 790 | ((vc-backend buffer-file-name) | 790 | ((ignore-errors (vc-backend buffer-file-name)) |
| 791 | ;; Compute the state and put it in the modeline. | 791 | ;; Compute the state and put it in the modeline. |
| 792 | (vc-mode-line buffer-file-name) | 792 | (vc-mode-line buffer-file-name) |
| 793 | (unless vc-make-backup-files | 793 | (unless vc-make-backup-files |