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

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

Why does byte compilation affect existing Emacs session?


From: Alex Branham
Subject: Why does byte compilation affect existing Emacs session?
Date: Fri, 16 Feb 2018 16:19:25 -0600
User-agent: mu4e 1.0; emacs 26.0.91

Hello,

I'm trying to understand the following behavior. I've set the f1 key to
a keymap. Then I open a file with the contents

#+BEGIN_SRC emacs-lisp
(use-package help
  :defer t)
#+END_SRC

and byte compile it with M-x byte-compile-file. Now the f1 key is back
to the help keymap (same as C-h), and not whatever I had set it to
before.

Why does byte compilation affect an *existing* Emacs session if the elc
file isn't loaded?

(Yes, I know I can add :no-require t to prevent this, I just don't
understand what's going on in the first place)

Thanks in advance,
Alex



reply via email to

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