help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding an entry to a user option


From: martin rudalics
Subject: Re: Adding an entry to a user option
Date: Sat, 07 Mar 2009 19:56:06 +0100
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

> I want to discard a warning, that often pops up and which is not
> relevant in my situation. The warning self says how to proceed, in
> priciple, in this case:
>
> "You can disable the popping up of this buffer by adding the entry
> (undo discard-info) to the user option `warning-suppress-types'."
>
> But how can I achieve this? How do I "add an entry to a user option"?
> Can someone suggest a piece of code to be added to the _emacs file?
>
> I would also appreciate to pointed to some documentation where this is
> described and which has (obviously) escaped me so far.

Please write a bug report so Emacs developers will take care of this.

Meanwhile you can try to add an entry like

 '(warning-suppress-types (quote ((undo discard-info)))))

to your customizations which usually reside in your .emacs (or _emacs)
file.  That is, if so far you have customized `debug-on-error' and
`yank-excluded-properties' only, your .emacs should then contain the
following form:

(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.
 '(debug-on-error t)
 '(warning-suppress-types (quote ((undo discard-info))))
 '(yank-excluded-properties t))

Restart Emacs and tell us whether it works.

Thanks, martin.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]