aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorHong Xu2016-11-04 12:06:00 +0200
committerEli Zaretskii2016-11-04 12:06:00 +0200
commit23570fd995a1a5586c85b440d552ec5b6077ed39 (patch)
tree19ed57a3057ba2e12c0a4fd36a12f3c66d4a7875 /lisp
parentf708cb22a1608f8a5aea671afebea44d216d9496 (diff)
downloademacs-23570fd995a1a5586c85b440d552ec5b6077ed39.tar.gz
emacs-23570fd995a1a5586c85b440d552ec5b6077ed39.zip
Clarify documentation of 'vc-responsible-backend' wrt symlinks
* lisp/vc/vc.el (vc-responsible-backend): Clarify that symlinks are not resolved when the VC backend is reported. * doc/lispref/files.texi (Truenames): Document 'vc-responsible-backend'. (Bug#23436) * doc/emacs/maintaining.texi (Version Control Systems): Fix a typo.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/vc/vc.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index ac020d09539..2ddf4e19e1f 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -959,7 +959,11 @@ use."
959If FILE is already registered, return the 959If FILE is already registered, return the
960backend of FILE. If FILE is not registered, then the 960backend of FILE. If FILE is not registered, then the
961first backend in `vc-handled-backends' that declares itself 961first backend in `vc-handled-backends' that declares itself
962responsible for FILE is returned." 962responsible for FILE is returned.
963
964Note that if FILE is a symbolic link, it will not be resolved --
965the responsible backend system for the symbolic link itself will
966be reported."
963 (or (and (not (file-directory-p file)) (vc-backend file)) 967 (or (and (not (file-directory-p file)) (vc-backend file))
964 (catch 'found 968 (catch 'found
965 ;; First try: find a responsible backend. If this is for registration, 969 ;; First try: find a responsible backend. If this is for registration,