emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dslide f24e5b8538 088/230: Rename argument, display-action


From: ELPA Syncer
Subject: [nongnu] elpa/dslide f24e5b8538 088/230: Rename argument, display-action -> display
Date: Sun, 7 Jul 2024 19:00:19 -0400 (EDT)

branch: elpa/dslide
commit f24e5b8538da41a592e494dcffba71e63b71335a
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>

    Rename argument, display-action -> display
    
    It's a boolean, not a means of override
    
    Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
---
 macro-slides.el | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/macro-slides.el b/macro-slides.el
index c7a02ec0c0..0f35e69e23 100644
--- a/macro-slides.el
+++ b/macro-slides.el
@@ -2267,13 +2267,14 @@ hooks must occur in the deck's :slide-buffer."
         ms--animation-timer nil
         ms--contents-hl-line-overlay nil))
 
-(defun ms--ensure-slide-buffer (&optional display-action)
-  "Run in commands that must run in the slide buffer."
+(defun ms--ensure-slide-buffer (&optional display)
+  "Run in commands that must run in the slide buffer.
+Unless optional DISPLAY is non-nil, the buffer is only set."
   (unless (ms-live-p)
     (error "Live deck not found"))
-  (if display-action
+  (if display
       (display-buffer (oref ms--deck slide-buffer)
-                      display-action)
+                      ms--display-actions)
     (set-buffer (oref ms--deck slide-buffer))))
 
 (defun ms--keyword-value (key)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]