branch: elpa/dslide
commit cb31e3863339d2ca4d771a1716ee11bfc9a0e9ad
Author: Psionik K <73710933+psioni...@users.noreply.github.com>
Commit: Psionik K <73710933+psioni...@users.noreply.github.com>

    push-restriction uses markers
    
    Signed-off-by: Psionik K <73710933+psioni...@users.noreply.github.com>
---
 macro-slides.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/macro-slides.el b/macro-slides.el
index be3851d871..abbce04b99 100644
--- a/macro-slides.el
+++ b/macro-slides.el
@@ -1075,8 +1075,8 @@ Optional POP-WHEN decides when to restore the config.  See
 
 Optional STEP argument will decide if the callback counts as a step or will
 return nil so that it is only run for effects."
-  (let* ((begin (point-min))
-         (end (point-max))
+  (let* ((begin (point-min-marker))
+         (end (point-max-marker))
          (size (buffer-size))
          (restricted (/= (- end begin) size)))
     (ms-push-step

Reply via email to