]> code.delx.au - gnu-emacs/blobdiff - lisp/winner.el
Un-revert changes mistakenly dropped by f9fabb2b
[gnu-emacs] / lisp / winner.el
index f244003b06629ed340cbaf373b24811856fa5122..fdf62137514fc47071a094ff649d5c6b39c0314f 100644 (file)
@@ -415,7 +415,7 @@ In other words, \"undo\" changes in window configuration."
        (ring-ref winner-pending-undo-ring 0)))
     (unless (eq (selected-window) (minibuffer-window))
       (message "Winner undid undo")))
-   (t (error "Previous command was not a `winner-undo'"))))
+   (t (user-error "Previous command was not a `winner-undo'"))))
 
 (provide 'winner)
 ;;; winner.el ends here