[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc-follow-symlinks confirm message is not read only
From: |
Luc Teirlinck |
Subject: |
Re: vc-follow-symlinks confirm message is not read only |
Date: |
Wed, 5 May 2004 18:41:26 -0500 (CDT) |
There was an obvious typo in one of the two patches I proposed. Here
is the corrected version:
===File ~/vc-hooks-diff=====================================
*** vc-hooks.el 23 Apr 2004 17:10:10 -0500 1.168
--- vc-hooks.el 05 May 2004 18:16:29 -0500
***************
*** 751,758 ****
(message "Followed link to %s" buffer-file-name)
(vc-find-file-hook))
(t
! (if (yes-or-no-p (format
! "Symbolic link to %s-controlled source file; follow link? "
link-type))
(progn (vc-follow-link)
(message "Followed link to %s" buffer-file-name)
(vc-find-file-hook))
--- 751,759 ----
(message "Followed link to %s" buffer-file-name)
(vc-find-file-hook))
(t
! (if (let ((inhibit-read-only nil))
! (yes-or-no-p (format
! "Symbolic link to %s-controlled source file; follow link? " link-type)))
(progn (vc-follow-link)
(message "Followed link to %s" buffer-file-name)
(vc-find-file-hook))
============================================================