Gnus development mailing list
 help / color / mirror / Atom feed
* [patch] `gnu-summary-exit-no-update'
@ 1999-01-03 18:42 Mike McEwan
  0 siblings, 0 replies; only message in thread
From: Mike McEwan @ 1999-01-03 18:42 UTC (permalink / raw)


  Since `gnus-picons-setup-buffer' is now being run, I was getting:

  "Wrong type argument: symbolp, (gnus-picons-kill-buffer)"

  The following does it for me:

--- pgnus/lisp/ChangeLog	1999/01/03 14:06:49	1.1.1.23
+++ pgnus/lisp/ChangeLog	1999/01/03 18:33:41
@@ -1,3 +1,8 @@
+1999-01-03  Mike McEwan  <mike@lotusland.demon.co.uk>
+
+	* gnus-sum.el (gnus-summary-exit-no-update): `run-hooks' requires
+	a symbol, not a list.
+
 Sun Jan  3 13:32:02 1999  Lars Magne Ingebrigtsen  <larsi@menja.ifi.uio.no>
 
 	* gnus.el: Pterodactyl Gnus v0.69 is released.
--- pgnus/lisp/gnus-sum.el	1998/12/15 21:03:04	1.18
+++ pgnus/lisp/gnus-sum.el	1999/01/03 18:18:50
@@ -5402,13 +5402,14 @@
   "Quit reading current newsgroup without updating read article info."
   (interactive)
   (let* ((group gnus-newsgroup-name)
-	 (quit-config (gnus-group-quit-config group)))
+	 (quit-config (gnus-group-quit-config group))
+	 (quit-hook (delq 'gnus-summary-expire-articles 
+			  (copy-list gnus-summary-prepare-exit-hook))))
     (when (or no-questions
 	      gnus-expert-user
 	      (gnus-y-or-n-p "Discard changes to this group and exit? "))
       (gnus-async-halt-prefetch)
-      (gnus-run-hooks (delq 'gnus-summary-expire-articles 
-			    (copy-list gnus-summary-prepare-exit-hook)))
+      (gnus-run-hooks 'quit-hook)
       (when (gnus-buffer-live-p gnus-article-buffer)
 	(save-excursion
 	  (set-buffer gnus-article-buffer)

-- 
Mike.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-01-03 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-03 18:42 [patch] `gnu-summary-exit-no-update' Mike McEwan

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