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: Nikolaj Schumacher
Subject: Re: Adding an entry to a user option
Date: Fri, 06 Mar 2009 10:57:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin)

Stefan Boeters <st.boeters@gmail.com> wrote:

> "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?

How to solve this depends on the option's format.  I don't know the
package, so I can't help you there.

But ideally, you should be able to
  M-x customize-variable warning-suppress-types
and add an entry with that text.

Otherwise, you should look up the documentation for the option.  You can
do this with:
  C-h v warning-suppress-types

It might be something like this:
(add-to-list 'warning-suppress-types '(undo discard-info))

But there's no universal answer.


regards,
Nikolaj Schumacher




reply via email to

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