[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el |
Date: |
Wed, 11 May 2005 12:24:55 -0400 |
Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.765 emacs/lisp/files.el:1.766
*** emacs/lisp/files.el:1.765 Tue May 10 09:08:28 2005
--- emacs/lisp/files.el Wed May 11 16:24:55 2005
***************
*** 676,681 ****
--- 676,688 ----
((null action) (try-completion string names))
(t (test-completion string names))))))
+ (defun executable-find (command)
+ "Search for COMMAND in `exec-path' and return the absolute file name.
+ Return nil if COMMAND is not found anywhere in `exec-path'."
+ ;; Use 1 rather than file-executable-p to better match the behavior of
+ ;; call-process.
+ (locate-file command exec-path exec-suffixes 1))
+
(defun load-library (library)
"Load the library named LIBRARY.
This is an interface to the function `load'."
***************
*** 4855,4859 ****
(define-key ctl-x-5-map "\C-f" 'find-file-other-frame)
(define-key ctl-x-5-map "r" 'find-file-read-only-other-frame)
! ;;; arch-tag: bc68d3ea-19ca-468b-aac6-3a4a7766101f
;;; files.el ends here
--- 4862,4866 ----
(define-key ctl-x-5-map "\C-f" 'find-file-other-frame)
(define-key ctl-x-5-map "r" 'find-file-read-only-other-frame)
! ;; arch-tag: bc68d3ea-19ca-468b-aac6-3a4a7766101f
;;; files.el ends here
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M . Stallman, 2005/05/01
- [Emacs-diffs] Changes to emacs/lisp/files.el, Luc Teirlinck, 2005/05/01
- [Emacs-diffs] Changes to emacs/lisp/files.el, Eli Zaretskii, 2005/05/06
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M . Stallman, 2005/05/10
- [Emacs-diffs] Changes to emacs/lisp/files.el,
Stefan Monnier <=
- [Emacs-diffs] Changes to emacs/lisp/files.el, Luc Teirlinck, 2005/05/12
- [Emacs-diffs] Changes to emacs/lisp/files.el, Daniel Pfeiffer, 2005/05/13
- [Emacs-diffs] Changes to emacs/lisp/files.el, Luc Teirlinck, 2005/05/13
- [Emacs-diffs] Changes to emacs/lisp/files.el, Luc Teirlinck, 2005/05/14
- [Emacs-diffs] Changes to emacs/lisp/files.el, Juanma Barranquero, 2005/05/17
- [Emacs-diffs] Changes to emacs/lisp/files.el, Daniel Pfeiffer, 2005/05/20
- [Emacs-diffs] Changes to emacs/lisp/files.el, Stefan Monnier, 2005/05/31