I see that I can do something like this:
(defun limit-warnings ()
(set (make-local-variable 'warning-minimum-level) 'fatal))
(add-hook 'minibuffer-setup-hook 'disable-warnings)
(Sorry for syntax errors; I'm not very familiar with Lisp and the above is just an example.)
How do I combine that with warning options to disable warnings from only the minibuffer? (For example, the minibuffer doesn't need to tell me that I've hit the end of the buffer or that the M-x:
prompt string is read-only.)
I tried describe-variable
with warning-minimum-level
and there was no such variable defined.
line-move-visual
orline-move-1
orline-move
-- within the librarysimple.el
-- the error message occurs because the optional argument ofnoerror
is not being used to suppress the error message. However, some functions depend upon that signal error to halt an ongoing function -- e.g., multiple-cursors mode depends upon that signal error to prevent a never ending loop. – lawlist Apr 26 '15 at 5:54(setq warning-minimum-level :emergency)
been suggested as an answer? – viksit Jan 21 '17 at 22:41