]> git.eshelyaron.com Git - emacs.git/commit
Support changing remoteness of DIR in rgrep and lgrep
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 23 Mar 2022 15:04:57 +0000 (16:04 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 23 Mar 2022 15:04:57 +0000 (16:04 +0100)
commitfdbee9bc4c3e1c8f4dfa358282bdb2e746918daa
tree9daf2ee30466587c06182b4e7c86ed21df06ceef
parent7fa5d6c87d43926008c15a7f7ddc924bbf8d2e76
Support changing remoteness of DIR in rgrep and lgrep

* lisp/net/tramp-sh.el (tramp-get-remote-dev-tty): New defun.
(tramp-sh-handle-make-process): Use it.

* lisp/progmodes/grep.el: Prefer #' to quote named functions.
(lgrep, rgrep): Recompute grep defaults when the remoteness of DIR
changes.
lisp/net/tramp-sh.el
lisp/progmodes/grep.el