diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-04-29 06:25:49 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-04-29 06:25:49 +0000 |
commit | 1d888548752f9c2b09ba31f411c70d3dea1fba17 (patch) | |
tree | 0d847b35da12811e57b248eea66f98852fa8539a /lisp/vc-hooks.el | |
parent | c96dcc01cd149407a36cfefb8123b95c552d0b95 (diff) | |
download | emacs-1d888548752f9c2b09ba31f411c70d3dea1fba17.tar.gz |
(vc-mode-line): Fix previous change.
Diffstat (limited to 'lisp/vc-hooks.el')
-rw-r--r-- | lisp/vc-hooks.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 48e3ea6424d..0704cdb6aaf 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el @@ -155,8 +155,8 @@ visiting FILE." (not (string-equal (user-login-name) (vc-locking-user file))) (setq buffer-read-only t)) (and (null vc-type) - (file-symlink-p buffer-file-name) - (let ((link-type (vc-backend-deduce (file-symlink-p buffer-file-name)))) + (file-symlink-p file) + (let ((link-type (vc-backend-deduce (file-symlink-p file)))) (if link-type (message "Warning: symbolic link to %s-controlled source file" link-type)))) |