mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-02 11:21:42 +00:00
(url-completion-function): Follow error conventions.
This commit is contained in:
parent
3b696504cd
commit
e2a0329ada
@ -84,7 +84,7 @@ to run the `url-history-setup-save-timer' function manually."
|
||||
(defun url-history-setup-save-timer ()
|
||||
"Reset the history list timer."
|
||||
(interactive)
|
||||
(ignore-errors
|
||||
(ignore-errors
|
||||
(cond ((fboundp 'cancel-timer) (cancel-timer url-history-timer))
|
||||
((fboundp 'delete-itimer) (delete-itimer url-history-timer))))
|
||||
(setq url-history-timer nil)
|
||||
@ -192,7 +192,7 @@ user for what type to save as."
|
||||
(gethash string url-history-hash-table)
|
||||
t))
|
||||
(t
|
||||
(error "url-completion-function very confused."))))
|
||||
(error "url-completion-function very confused"))))
|
||||
|
||||
(provide 'url-history)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user