X-Git-Url: http://git.chise.org/gitweb/?p=elisp%2Fgnus.git-;a=blobdiff_plain;f=lisp%2Fgnus-soup.el;h=b7c1a234920559a105e53bcf16417a5e3fdc7179;hp=b444032e993821a3cfa0698c12cc1e76816a8f68;hb=2081c04cfde82ce1f92ae6f5cb46454bb6fe3040;hpb=162880cc7957dd33ca0c09573dc8ff526f3c8d69 diff --git a/lisp/gnus-soup.el b/lisp/gnus-soup.el index b444032..b7c1a23 100644 --- a/lisp/gnus-soup.el +++ b/lisp/gnus-soup.el @@ -357,9 +357,9 @@ If NOT-ALL, don't pack ticked articles." (gnus-make-directory dir) (setq gnus-soup-areas nil) (gnus-message 4 "Packing %s..." packer) - (if (zerop (call-process shell-file-name - nil nil nil shell-command-switch - (concat "cd " dir " ; " packer))) + (if (eq 0 (call-process shell-file-name + nil nil nil shell-command-switch + (concat "cd " dir " ; " packer))) (progn (call-process shell-file-name nil nil nil shell-command-switch (concat "cd " dir " ; rm " files)) @@ -496,10 +496,10 @@ Return whether the unpacking was successful." (gnus-make-directory dir) (gnus-message 4 "Unpacking: %s" (format unpacker packet)) (prog1 - (zerop (call-process - shell-file-name nil nil nil shell-command-switch - (format "cd %s ; %s" (expand-file-name dir) - (format unpacker packet)))) + (eq 0 (call-process + shell-file-name nil nil nil shell-command-switch + (format "cd %s ; %s" (expand-file-name dir) + (format unpacker packet)))) (gnus-message 4 "Unpacking...done"))) (defun gnus-soup-send-packet (packet) @@ -549,7 +549,7 @@ Return whether the unpacking was successful." (sit-for 1) (let ((message-syntax-checks 'dont-check-for-anything-just-trust-me) - (method (if (message-functionp message-post-method) + (method (if (functionp message-post-method) (funcall message-post-method) message-post-method)) result)