all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Heads up about needing a "make clean" at some point
Date: Thu, 07 Jul 2011 23:55:44 +0200	[thread overview]
Message-ID: <m31uy1pxgf.fsf@quimbies.gnus.org> (raw)

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/




             reply	other threads:[~2011-07-07 21:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 21:55 Lars Magne Ingebrigtsen [this message]
2011-07-07 22:08 ` Heads up about needing a "make clean" at some point Andreas Schwab

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31uy1pxgf.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@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.
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.