mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-02 20:16:25 +00:00
* progmodes/grep.el (grep-probe): Let-bind `process-file-side-effects' with nil.
This commit is contained in:
parent
04473f6756
commit
458c8d31e4
@ -458,10 +458,11 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
|
||||
(run-hooks 'grep-setup-hook))
|
||||
|
||||
(defun grep-probe (command args &optional func result)
|
||||
(equal (condition-case nil
|
||||
(apply (or func 'process-file) command args)
|
||||
(error nil))
|
||||
(or result 0)))
|
||||
(let (process-file-side-effects)
|
||||
(equal (condition-case nil
|
||||
(apply (or func 'process-file) command args)
|
||||
(error nil))
|
||||
(or result 0))))
|
||||
|
||||
;;;###autoload
|
||||
(defun grep-compute-defaults ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user