Emacs 26.1 Every time when I start shell I get the next message:
How I can disable this message?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityTo suppress the warning first make sure the warnings
library is loaded by entering M-x load-library
RET warnings
RET.
Then add the listed option to warning-suppress-types
. Load the customization interface by entering M-x customize-option
RET warning-suppress-types
RET. Add a new top-level list-item by pressing the top-most INS
button, then add two nested items by twice pressing INS
inside the new item. Enter undo
in the first nested item, and discard-info
in the second. Finally, press the Apply and Save
button.
This should add something like the following to your init.el
file:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(warning-suppress-types (quote ((undo discard-info)))))
M-x report-emacs-bug
).