[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/vc-hooks.el [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/vc-hooks.el [lexbind] |
Date: |
Mon, 25 Oct 2004 00:40:52 -0400 |
Index: emacs/lisp/vc-hooks.el
diff -c emacs/lisp/vc-hooks.el:1.139.2.8 emacs/lisp/vc-hooks.el:1.139.2.9
*** emacs/lisp/vc-hooks.el:1.139.2.8 Thu Sep 16 00:14:58 2004
--- emacs/lisp/vc-hooks.el Mon Oct 25 04:22:23 2004
***************
*** 754,761 ****
(set (make-local-variable 'backup-inhibited) t))
;; Let the backend setup any buffer-local things he needs.
(vc-call-backend (vc-backend buffer-file-name) 'find-file-hook))
! ((let* ((link (file-symlink-p buffer-file-name))
! (link-type (and link (vc-backend (file-chase-links link)))))
(cond ((not link-type) nil) ;Nothing to do.
((eq vc-follow-symlinks nil)
(message
--- 754,761 ----
(set (make-local-variable 'backup-inhibited) t))
;; Let the backend setup any buffer-local things he needs.
(vc-call-backend (vc-backend buffer-file-name) 'find-file-hook))
! ((let ((link-type (and (file-symlink-p buffer-file-name)
! (vc-backend (file-chase-links buffer-file-name)))))
(cond ((not link-type) nil) ;Nothing to do.
((eq vc-follow-symlinks nil)
(message
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/vc-hooks.el [lexbind],
Miles Bader <=