]> git.eshelyaron.com Git - emacs.git/commit
Enable highlighting Gud execution lines without hl-line-mode
authorPo Lu <luangruo@yahoo.com>
Thu, 12 Oct 2023 13:46:54 +0000 (21:46 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 12 Oct 2023 13:46:54 +0000 (21:46 +0800)
commitc6f07e13eef93af8b25064bb1bc975e8fafad591
tree1c7ee68d335ee3072d5a2feb4140046dfb48d02d
parent088dd67f891553e1a27e65c97e386d0dd8dc4f64
Enable highlighting Gud execution lines without hl-line-mode

* doc/emacs/building.texi (Debugger Operation): Mention two new
options and the relationship between Gud and HL Line Mode.

* etc/NEWS (Editing Changes in Emacs 30.1): Mention the new
option.

* lisp/progmodes/gud.el (gud-highlight-current-line-overlay):
New variable.
(gud-sentinel) <signal, exit>: Delete that overlay if set.
(gud-highlight-current-line, gud-highlight-current-line-face):
New user options.
(gud-display-line): Create and move an overlay without employing
hl-line-mode, if so enjoined by the user.
doc/emacs/building.texi
etc/NEWS
lisp/progmodes/gud.el