[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find-name-dired and find-program variable

From: Tino Calancha
Subject: Re: find-name-dired and find-program variable
Date: Tue, 19 Apr 2016 16:35:53 +0900 (JST)
User-agent: Alpine 2.20 (LRH 67 2015-01-07)

On Tue, 19 Apr 2016, Cédric Chépied wrote:


After a git pull on my emacs repo (master branch) I can't use find-name-dired
anymore because the find-program variable is not defined.
Then you will have 2 definitions of `find-program', the other at
grep.el, as an alias of `grep-find-program'.
They are still discussing this recent change, so the situation can
still change.
In the meantime i work around the problem requiring 'grep in .emacs: (require 'grep)


I wrote this patch to fix it.
lisp/find-dired.el | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index b1b33ac..49b9ac9 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -34,6 +34,13 @@
  :group 'dired
  :prefix "find-")

+(defcustom find-program
+  "find"
+  "Name of find command (usually 'find')"
+  :version "24.1"
+  :group 'find-dired
+  :type 'string)
;; FIXME this option does not really belong in this file, it's more general.
;; Eg cf some tests in grep.el.
(defcustom find-exec-terminator

reply via email to

[Prev in Thread] Current Thread [Next in Thread]