From: Alexander Shukaev <haroogan@gmail.com>
To: Alex Kost <alezost@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Redefine the `special-mode-map'
Date: Fri, 9 Jan 2015 16:02:02 +0100 [thread overview]
Message-ID: <CAKu-7WyPNykmR9yRS+1wJ7vxC6eAG9E2j5smH-UufYfnHjcbQQ@mail.gmail.com> (raw)
In-Reply-To: <CAKu-7Wy66PdNF+Ttsy62rke4Y6n05vh=TRKN78EHN1z6MtDr5A@mail.gmail.com>
Furthermore, `setq' is used in order to prevent `defvar' to set the
default value in `simple.el'. This is the normal way to customize variables
prior loading their corresponding features. I've checked and in my case
`setq' is indeed run before `simple.el' is loaded. Once again, I did the
same with `undo-tree-map' customization and it worked.
On the contrary, for completeness, your recipe with `setcdr' seems to
require wrapping it in `with-eval-after-load':
(with-eval-after-load 'simple
(setcdr special-mode-map nil)
...)
doesn't it?
next prev parent reply other threads:[~2015-01-09 15:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-09 4:26 Redefine the `special-mode-map' Alexander Shukaev
2015-01-09 14:46 ` Alex Kost
2015-01-09 14:53 ` Alexander Shukaev
2015-01-09 15:02 ` Alexander Shukaev [this message]
2015-01-09 15:05 ` Dmitry Gutov
2015-01-09 15:09 ` Alexander Shukaev
2015-01-09 18:48 ` Michael Heerdegen
2015-01-09 18:54 ` Alexander Shukaev
2015-01-09 18:58 ` Dmitry Gutov
2015-01-09 19:22 ` Alexander Shukaev
2015-01-09 19:29 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKu-7WyPNykmR9yRS+1wJ7vxC6eAG9E2j5smH-UufYfnHjcbQQ@mail.gmail.com \
--to=haroogan@gmail.com \
--cc=alezost@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).