diff options
author | Mark Oteiza <mvoteiza@udel.edu> | 2017-03-19 20:20:45 -0400 |
---|---|---|
committer | Mark Oteiza <mvoteiza@udel.edu> | 2017-03-19 20:20:45 -0400 |
commit | 715962e5c416b62c1deea0bec16c88ae9c63674e (patch) | |
tree | 6832eed303084e68e9309afcd86eef79d0bbd0c2 /lisp/button.el | |
parent | fa90c5e86e2b11e89c6a1d709e25003a60656f0d (diff) | |
download | emacs-715962e5c416b62c1deea0bec16c88ae9c63674e.tar.gz |
* lisp/button.el (forward-button): Use user-error instead.
Diffstat (limited to 'lisp/button.el')
-rw-r--r-- | lisp/button.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/button.el b/lisp/button.el index c39e4f97c13..b04bc283e40 100644 --- a/lisp/button.el +++ b/lisp/button.el @@ -493,7 +493,7 @@ Returns the button found." (unless (button-get button 'skip) (setq n (1- n))))))) (if (null button) - (error (if wrap "No buttons!" "No more buttons")) + (user-error (if wrap "No buttons!" "No more buttons")) (let ((msg (and display-message (button-get button 'help-echo)))) (when msg (message "%s" msg))) |