aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1998-06-16 16:38:47 +0000
committerRichard M. Stallman1998-06-16 16:38:47 +0000
commit0c8b57ade8c9cb8cc9caafb09182bab185983a47 (patch)
treef91258ab816e47a290e5aa56f85c52b1b70a0e32 /lisp
parent09c6077fa63d5f71c93bc32cdca67b1cf676bdff (diff)
downloademacs-0c8b57ade8c9cb8cc9caafb09182bab185983a47.tar.gz
emacs-0c8b57ade8c9cb8cc9caafb09182bab185983a47.zip
(vc-find-binary): Accept only non-directories.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/vc.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index c5d8db981c9..26cfb0c0c2a 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -5,7 +5,7 @@
5;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 5;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
6;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de> 6;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de>
7 7
8;; $Id: vc.el,v 1.230 1998/06/11 15:33:13 spiegel Exp spiegel $ 8;; $Id: vc.el,v 1.231 1998/06/12 11:13:37 spiegel Exp rms $
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
@@ -516,7 +516,8 @@ If nil, VC itself computes this value when it is first needed."
516 (lambda (s) 516 (lambda (s)
517 (if s 517 (if s
518 (let ((full (concat s "/" name))) 518 (let ((full (concat s "/" name)))
519 (if (file-executable-p full) 519 (if (and (file-executable-p full)
520 (not (file-directory-p full)))
520 (progn 521 (progn
521 (setq vc-binary-assoc 522 (setq vc-binary-assoc
522 (cons (cons name full) vc-binary-assoc)) 523 (cons (cons name full) vc-binary-assoc))