Gnus development mailing list
 help / color / mirror / Atom feed
From: Mike McEwan <mike@lotusland.demon.co.uk>
Subject: [patch] `gnu-summary-exit-no-update'
Date: 03 Jan 1999 18:42:46 +0000	[thread overview]
Message-ID: <m3d84ww63d.fsf@lotusland.demon.co.uk> (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.


                 reply	other threads:[~1999-01-03 18:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=m3d84ww63d.fsf@lotusland.demon.co.uk \
    --to=mike@lotusland.demon.co.uk \
    /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.
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).