Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Autoload `message-y-or-n-p' macro in gnus.el at compile time.
@ 2004-01-15  9:36 Steve Youngs
  2004-01-15  9:51 ` [PATCH] Autoload `message-y-or-n-p' macro in gnus.el at compile Simon Josefsson
  0 siblings, 1 reply; 7+ messages in thread
From: Steve Youngs @ 2004-01-15  9:36 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1807 bytes --]

Over at XEmacs.org, they've got a couple of awk scripts to help them
find mis-compiled macros and stuff.  It turned up this
one... `message-y-or-n-p', which is defined in message.el isn't
getting picked up in gnus.el (where it's used in `gnu-read-group').

Anyway, I was just about to commit this when I had a thought (yep,
occasionally I do have em).  Should this patch go into gnus.el, or
into dgnushack.el?

Gnus patch:
ChangeLog files diff command: cvs -q diff -U 0
Files affected:               lisp/ChangeLog
Source files diff command:    cvs -q diff -uN
Files affected:               lisp/gnus.el

Index: lisp/ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v
retrieving revision 7.86
diff -u -U0 -r7.86 ChangeLog
--- lisp/ChangeLog	14 Jan 2004 14:32:21 -0000	7.86
+++ lisp/ChangeLog	15 Jan 2004 09:30:19 -0000
@@ -0,0 +1,4 @@
+2004-01-15  Steve Youngs  <sryoungs@bigpond.net.au>
+
+	* gnus.el: Autoload `message-y-or-n-p'.
+
Index: lisp/gnus.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus.el,v
retrieving revision 7.6
diff -u -u -r7.6 gnus.el
--- lisp/gnus.el	10 Jan 2004 04:26:59 -0000	7.6
+++ lisp/gnus.el	15 Jan 2004 09:30:15 -0000
@@ -3909,6 +3909,9 @@
       (setq valids (cdr valids)))
     outs))
 
+(eval-when-compile
+  (autoload 'message-y-or-n-p "message" nil 'macro))
+
 (defun gnus-read-group (prompt &optional default)
   "Prompt the user for a group name.
 Disallow invalid group names."

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|              Ashes to ashes, dust to dust.               |
|      The proof of the pudding, is under the crust.       |
|------------------------------<sryoungs@bigpond.net.au>---|

[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]

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

end of thread, other threads:[~2004-01-16 20:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15  9:36 [PATCH] Autoload `message-y-or-n-p' macro in gnus.el at compile time Steve Youngs
2004-01-15  9:51 ` [PATCH] Autoload `message-y-or-n-p' macro in gnus.el at compile Simon Josefsson
2004-01-15 11:22   ` Steve Youngs
2004-01-15 12:18     ` Reiner Steib
2004-01-15 13:28     ` Simon Josefsson
2004-01-15 21:51       ` Steve Youngs
2004-01-16 20:56       ` Xavier Maillard

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).