* Fuctions in c-mode-hook being called twice?(24.3.92)
@ 2014-07-12 1:00 netjunegg2
2014-07-12 2:11 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: netjunegg2 @ 2014-07-12 1:00 UTC (permalink / raw)
To: emacs-devel
emacs -Q
Then run the following code:
(defun my-test-func ()
(message "hook test")
)
(add-hook 'c-mode-hook 'my-test-func)
Open a c file. Go to the *Message* buffer. "hook test" is printed twice.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-12 2:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-12 1:00 Fuctions in c-mode-hook being called twice?(24.3.92) netjunegg2
2014-07-12 2:11 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.