components/emacs/patches/find.patch
changeset 4791 fb9a6b5ef98f
parent 1546 618d0a2031f6
equal deleted inserted replaced
4790:9a8e24279fc0 4791:fb9a6b5ef98f
     1 # Ensure that emacs uses GNU find. See components/emacs/README.
     1 # Ensure that emacs uses GNU find. See components/emacs/README.
       
     2 #    16171813 emacs rgrep assumes gnu find in path; fails using
       
     3 #            GNU-specific options
     2 #
     4 #
     3 --- emacs-24.3.orig/lisp/progmodes/grep.el	2013-01-01 13:37:17.000000000 -0700
     5 --- emacs-24.5.orig/lisp/progmodes/grep.el	2015-04-02 01:23:06.000000000 -0600
     4 +++ emacs-24.3/lisp/progmodes/grep.el	2013-09-23 14:41:27.331614612 -0600
     6 +++ emacs-24.5/lisp/progmodes/grep.el	2015-06-26 15:15:32.310280505 -0600
     5 @@ -419,7 +419,8 @@
     7 @@ -422,7 +422,8 @@
     6  This variable's value takes effect when `grep-compute-defaults' is called.")
     8  This variable's value takes effect when `grep-compute-defaults' is called.")
     7  
     9  
     8  ;;;###autoload
    10  ;;;###autoload
     9 -(defvar find-program (purecopy "find")
    11 -(defvar find-program (purecopy "find")
    10 +;;Change from find to GNU find for Solaris, as emacs uses GNU-specific options
    12 +;;Change from find to GNU find for Solaris, as emacs uses GNU-specific options
    11 +(defvar find-program (purecopy "/usr/gnu/bin/find")
    13 +(defvar find-program (purecopy "/usr/gnu/bin/find")
    12    "The default find program for `grep-find-command'.
    14    "The default find program.
    13  This variable's value takes effect when `grep-compute-defaults' is called.")
    15  This is used by commands like `grep-find-command', `find-dired'
    14  
    16  and others.")