When I execute the command find-grepin emacs, I got it find . -type f -exec grep -nH -e {} +, since I use the shell as the default shell, to make this command work, I have to execute find . -type f -exec grep -nH -e \{\} +.
I tried changing the source code of emacs, the following are my changes:
/usr/share/emacs/24.4/lisp/ldefs-boot.el line 12669: If `exec-plus' use `find -exec \{\} +'.
/usr/share/emacs/24.4/lisp/loaddefs.el line 12669: If `exec-plus' use `find -exec \{\} +'.
But it does not make any sense when I perform find-grepshows up find . -type f -exec grep -nH -e {} +. Can someone tell me where I am doing wrong, or how can I find out?
source
share