* Heads up about needing a "make clean" at some point
@ 2011-07-07 21:55 Lars Magne Ingebrigtsen
2011-07-07 22:08 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-07 21:55 UTC (permalink / raw)
To: emacs-devel
sendmail.el has the following code:
;; Prevent problems with `window-system' not having the correct value
;; when loaddefs.el is loaded. `custom-reevaluate-setting' needs the
;; standard value.
;;;###autoload
(put 'send-mail-function 'standard-value
;; MS-Windows can access the clipboard even under -nw.
'('sendmail-query-once))
;; Useful to set in site-init.el
;;;###autoload
(defcustom send-mail-function 'sendmail-query-once
[...]
:initialize 'custom-initialize-delay
This code is no longer necessary, since `send-mail-function' is a
constant now.
But removing it has shown itself to be slightly tricky. If I remove the
`put' and the :initialize, and then say "make", and then start "emacs
-Q", `send-mail-function' will then be nil.
Meaning you can't send mail at all.
Doing a "make clean; make" will fix this, since that will rebuild the
autoloads properly.
So this needs to be done, but you need to be aware that you will need to
do a "make clean", unless somebody comes up with a better way to fix
this.
I will not be applying this today, and I'm away the next two days at a
jazz festival, so if somebody applies this while I'm away... please
send a reminder to the mailing list after cleaning this up.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Heads up about needing a "make clean" at some point
2011-07-07 21:55 Heads up about needing a "make clean" at some point Lars Magne Ingebrigtsen
@ 2011-07-07 22:08 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2011-07-07 22:08 UTC (permalink / raw)
To: emacs-devel
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Doing a "make clean; make" will fix this, since that will rebuild the
> autoloads properly.
make -C lisp autoloads
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-07 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 21:55 Heads up about needing a "make clean" at some point Lars Magne Ingebrigtsen
2011-07-07 22:08 ` Andreas Schwab
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.