]> git.eshelyaron.com Git - emacs.git/commit
Save buffers before running grep commands
authorHugh Brown <aardvark@saintaardvarkthecarpeted.com>
Mon, 29 Feb 2016 05:20:05 +0000 (16:20 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 29 Feb 2016 05:20:05 +0000 (16:20 +1100)
commit90c36173fdcc7dbe1fa150784a4784a9c0cb7bbc
tree6a3dd4fbfcb4c0c0823406340aa915be6fd4c72a
parent04289d1cd863fa8cc0c8a9b976a8e27d9a0b4dd1
Save buffers before running grep commands

* lisp/progmodes/grep.el (grep-ask-about-save): New variable (bug#96).
(grep, lgrep, rgrep): Use it (bug#96).

* doc/emacs/building.texi (Grep Searching): Document
`grep-save-buffers'.

* lisp/progmodes/grep.el (grep-save-buffers): Rename from
`grep-ask-about-save'.
(grep--save-buffers): New function.
(grep, lgrep, rgrep): Use it.
doc/emacs/building.texi
etc/NEWS
lisp/progmodes/grep.el