]> git.eshelyaron.com Git - emacs.git/commit
Allow toggling Grep command abbreviation, and rename related symbols
authorCharles A. Roelli <charles@aurox.ch>
Sun, 11 Mar 2018 13:56:00 +0000 (14:56 +0100)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:15:03 +0000 (14:15 +0800)
commitad8d136989d1299b510625a39280ab20caf8985c
tree987a26ebca0ad17eb31fa7d769b6b434ac423d60
parent1731947df5e66d71c98546a39bc900a83f470870
Allow toggling Grep command abbreviation, and rename related symbols

* lisp/progmodes/grep.el (grep-find-hide): Rename 'grep-find-hide'
to 'grep-find-abbreviate'.
(grep-find-hide-properties): Rename to
'grep-find-abbreviate-properties'.
(grep-mode-font-lock-keywords): Even when 'grep-find-abbreviate'
is nil, fontify the verbose command options with property
'abbreviated-command', so that the toggling command can later find
these parts without refontifying.
(grep-find-show): Rename to 'grep-find-toggle-abbreviation',
simplify the code, and permit toggling the hidden command options.
(grep-mode-map): Add a menu-bar item and new separator for
'grep-find-toggle-abbreviation', and fix the incumbent separators
in the "Grep" menu-bar, of which only one was showing before this
commit, even though two were specified.
* etc/NEWS (grep):
* doc/emacs/building.texi (Grep Searching): Document these
changes, and mention 'grep-find-toggle-abbreviation'.
doc/emacs/building.texi
etc/NEWS
lisp/progmodes/grep.el