* progmodes/grep.el (grep-probe): Let-bind `process-file-side-effects' with nil.
This commit is contained in:
parent
04473f6756
commit
458c8d31e4
1 changed files with 5 additions and 4 deletions
|
|
@ -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…
Add table
Reference in a new issue