Gnus development mailing list
 help / color / mirror / Atom feed
* How to change definition of gnus-summary-exit?
@ 2015-10-14 17:28 Nikolaus Rath
  2015-10-14 18:08 ` Adam Sjøgren
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolaus Rath @ 2015-10-14 17:28 UTC (permalink / raw)
  To: ding

Hello,

I would like to change the definition of the gnus-summary-exit function.

I have made a copy of gnus-sum.el, put it in a new directory, modified
it, and added this directory to my load path in ~/.emacs:

| (add-to-list 'load-path "/home/nikratio/dir-with-gnus-sum.el")


If I start gnus and do C-h f gnus-summary-exit, it tells me that the
function is defined in gnus-sum.el. If I click on gnus-sum.el, Emacs
opens my modified gnus-sum.el file.

*However*, the version of gnus-summary-exit that Gnus is actually using
is *not* my modified one, but the original.

In order to use my version, I have to explicitly eval the definition
using C-x C-e. After that, it is used by Gnus.


What is happening here? Why does the help refer me to the modified
version, but the version in memory is actually the original one? And how
do I tell emacs/gnus to use my version?

Thanks,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-16  7:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-14 17:28 How to change definition of gnus-summary-exit? Nikolaus Rath
2015-10-14 18:08 ` Adam Sjøgren
2015-10-15  6:34   ` Tassilo Horn
2015-10-15 17:47     ` Nikolaus Rath
2015-10-15 19:16       ` Tassilo Horn
2015-10-15 23:27         ` Nikolaus Rath
2015-10-16  7:19           ` Tassilo Horn
2015-10-15 20:17       ` Emanuel Berg

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 NNTP newsgroup(s).