all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Cédric Chépied" <cedric.chepied@gmail.com>
To: emacs-devel@gnu.org
Subject: find-name-dired and find-program variable
Date: Tue, 19 Apr 2016 08:35:52 +0200	[thread overview]
Message-ID: <5715d1ca.442cc20a.e7cbf.ffffb660@mx.google.com> (raw)

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
<cedric.chepied@gmail.com>


From c3ca2fe575dac860bb90168604eeb50cbd6a39e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Ch=C3=A9pied?= <cedric.chepied@gmail.com>
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




             reply	other threads:[~2016-04-19  6:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19  6:35 Cédric Chépied [this message]
2016-04-19  7:35 ` find-name-dired and find-program variable Tino Calancha
2016-04-19  9:25   ` Cédric Chépied

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5715d1ca.442cc20a.e7cbf.ffffb660@mx.google.com \
    --to=cedric.chepied@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.