[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
find-name-dired and find-program variable
From: |
Cédric Chépied |
Subject: |
find-name-dired and find-program variable |
Date: |
Tue, 19 Apr 2016 08:35:52 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.1.50 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi,
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.
I wrote this patch to fix it.
Regards,
--
Cédric Chépied
<address@hidden>
>From c3ca2fe575dac860bb90168604eeb50cbd6a39e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Ch=C3=A9pied?= <address@hidden>
Date: Tue, 19 Apr 2016 08:28:53 +0200
Subject: [PATCH] Add find-program customizable variable for dired
---
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
--
2.8.0
- find-name-dired and find-program variable,
Cédric Chépied <=