branch: elpa/undo-fu
commit ed9fb5378460ab61c41e713aa1a6bc921cfcf90e
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>

    Cleanup: remove interactive from the internal undo-redo back-port
    
    Even though the original function is interactive,
    this isn't useful for the back-port.
---
 undo-fu.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/undo-fu.el b/undo-fu.el
index c7eb375762..e154b4ee26 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -98,7 +98,6 @@ This checks if UNDO-LIST represents a state that resulted 
from an undo."
 (defun undo-fu--backport-undo-redo (&optional arg)
   "Undo the last ARG undos."
   (declare (important-return-value nil))
-  (interactive "*p")
   (cond
    ((null (undo-fu--backport-undo--last-change-was-undo-p buffer-undo-list))
     (user-error "No undone changes to redo"))

Reply via email to