mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: enable line truncation in grep-mode buffers
This commit is contained in:
parent
ca91932a3f
commit
f9d0d41c89
|
|
@ -108,6 +108,7 @@
|
|||
(use-package grep
|
||||
:ensure nil
|
||||
:commands (grep lgrep rgrep)
|
||||
:hook (grep-mode . prot-common-truncate-lines-silently)
|
||||
:config
|
||||
(setq grep-save-buffers nil)
|
||||
(setq grep-use-headings t) ; Emacs 30
|
||||
|
|
|
|||
|
|
@ -5428,6 +5428,7 @@ Note the use of the ~let~ to decide whether I use the ~grep~ or ~rg~
|
|||
(use-package grep
|
||||
:ensure nil
|
||||
:commands (grep lgrep rgrep)
|
||||
:hook (grep-mode . prot-common-truncate-lines-silently)
|
||||
:config
|
||||
(setq grep-save-buffers nil)
|
||||
(setq grep-use-headings t) ; Emacs 30
|
||||
|
|
|
|||
Loading…
Reference in a new issue