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

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

Re: Redefine the `special-mode-map'


From: Alexander Shukaev
Subject: Re: Redefine the `special-mode-map'
Date: Fri, 9 Jan 2015 20:22:20 +0100

>
> emacs -Q
> M-: (featurep 'simple) RET
>

‚ÄčThis does not prove whether `simple.el' is loaded during Emacs
initialization (`init.el') when `setq' is called there. The following test
really shows it:

(with-eval-after-load 'simple
  (message "after: %s" xxx))

(setq xxx "Hello, World!")
(message "before: %s" xxx)

‚ÄčIn fact, this will throw an error that `xxx' is void. It means that indeed
`simple.el' is loaded even before `init.el' is run (and not because of the
call to `setq'). Interesting...

Huge thanks to everyone for shedding some light on my issue.

Kind regards,
Alexander


reply via email to

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