branch: externals/beardbolt
commit 4f6ffdd254f28dc5574ea4e8c1c0b474f37ab745
Author: Erik Arvstedt <[email protected]>
Commit: Erik Arvstedt <[email protected]>
Rename rmsbolt-move-overlays -> rmsbolt-update-overlays
This name is clearer.
---
rmsbolt.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/rmsbolt.el b/rmsbolt.el
index ec2378b58d..6247f342ae 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -1389,7 +1389,7 @@ Argument OVERRIDE-BUFFER use this buffer instead of
reading from the output file
(run-with-timer rmsbolt-overlay-delay nil
(lambda ()
(with-current-buffer src-buffer
- (rmsbolt-move-overlays)))))))
+ (rmsbolt-update-overlays)))))))
((not rmsbolt--automated-compile)
;; Display compilation output
(display-buffer buffer)
@@ -1632,8 +1632,8 @@ Are you running two compilations at the same time?"))
(get-buffer-window-list))
t))
-(cl-defun rmsbolt-move-overlays (&key (force nil))
- "Function for moving overlays for rmsbolt.
+(cl-defun rmsbolt-update-overlays (&key (force nil))
+ "Update overlays to highlight the currently selected source and asm lines.
If FORCE, always scroll overlay, even when one is visible.
FORCE also scrolls to the first line, instead of the first line
of the last block."
@@ -1763,7 +1763,7 @@ This mode is enabled in both src and assembly output
buffers."
(unless rmsbolt--idle-timer
(setq rmsbolt--idle-timer (run-with-idle-timer
rmsbolt-overlay-delay t
- #'rmsbolt-move-overlays))
+ #'rmsbolt-update-overlays))
(add-hook 'kill-buffer-hook #'rmsbolt--kill-buffer-cleanup))
(unless (or rmsbolt--compile-idle-timer
(not rmsbolt-automatic-recompile))