]> 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)
committerCharles A. Roelli <charles@aurox.ch>
Sun, 11 Mar 2018 13:56:00 +0000 (14:56 +0100)
commit0965d94ca426765382f366bf48f88ba5f9500afd
tree9edaf0fbae28388f0a24327377cb141031515e08
parentc773dc118e897d6e0b95c131051e73d6fef97111
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