[Top][All Lists]

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

Re: Using "Emacs Configure" **and** modifying .emacs

From: Emanuel Berg
Subject: Re: Using "Emacs Configure" **and** modifying .emacs
Date: Mon, 14 Aug 2017 20:15:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Emanuel Berg wrote:

> In all honesty, one could actually do just
> this, and it doesn't mean one would have to
> use the Customize UI which will never happen
> for many people anyway.
> It will be interesting to see how many `setq'
> has to be changed, and also if something
> "breaks" after changing it to the right way!

Here is something that can help speed up the
tracking down of user variables in code already

    (defun echo-user-variable ()
      (let ((var (variable-at-point t))) ; ANY-SYMBOL
        (if (custom-variable-p var)
            (message "user variable")
          (message "something else") )))
    (defalias 'euv 'echo-user-variable)

underground experts united

reply via email to

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