X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fwebmail.el;h=86d443aa90ca7b9218b0955552ab6fe4b426d692;hb=74a489ff1213794152d6e13f7a11e16c89f62602;hp=272ea2017ff63a09d4eb4b6cfc3867d845fc20a7;hpb=fe70196e10cdd849981dbd014882fb20237d0740;p=gnus diff --git a/lisp/webmail.el b/lisp/webmail.el index 272ea2017..86d443aa9 100644 --- a/lisp/webmail.el +++ b/lisp/webmail.el @@ -1,27 +1,25 @@ ;;; webmail.el --- interface of web mail ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007 Free Software Foundation, Inc. +;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. ;; Author: Shenghuo Zhu ;; Keywords: hotmail netaddress my-deja netscape ;; This file is part of GNU Emacs. -;; GNU Emacs is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published -;; by the Free Software Foundation; either version 2, or (at your -;; option) any later version. +;; GNU Emacs is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. -;; GNU Emacs is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -;; Boston, MA 02110-1301, USA. +;; along with GNU Emacs. If not, see . ;;; Commentary: @@ -196,10 +194,9 @@ (defun webmail-debug (str) (with-temp-buffer (insert "\n---------------- A bug at " str " ------------------\n") - (mapcar #'(lambda (sym) - (if (boundp sym) - (gnus-pp `(setq ,sym ',(eval sym))))) - '(webmail-type user)) + (dolist (sym '(webmail-type user)) + (if (boundp sym) + (gnus-pp `(setq ,sym ',(eval sym))))) (insert "---------------- webmail buffer ------------------\n\n") (insert-buffer-substring webmail-buffer) (insert "\n---------------- end of buffer ------------------\n\n") @@ -532,7 +529,7 @@ (widen))) (delete-region p (point-max)) (goto-char (point-min)) - ;; Some blank line to seperate mails. + ;; Some blank line to separate mails. (insert "\n\nFrom nobody " (current-time-string) "\n") (insert "X-Gnus-Webmail: " (symbol-value 'user) "@" (symbol-name webmail-type) "\n") @@ -661,7 +658,7 @@ (setq p (point)))) (delete-region p (point-max)) (goto-char (point-min)) - ;; Some blank line to seperate mails. + ;; Some blank line to separate mails. (insert "\n\nFrom nobody " (current-time-string) "\n") (insert "X-Gnus-Webmail: " (symbol-value 'user) "@" (symbol-name webmail-type) "\n") @@ -838,7 +835,7 @@ (setq mime (webmail-netaddress-single-part)) (widen)) (goto-char (point-min)) - ;; Some blank line to seperate mails. + ;; Some blank line to separate mails. (insert "\n\nFrom nobody " (current-time-string) "\n") (insert "X-Gnus-Webmail: " (symbol-value 'user) "@" (symbol-name webmail-type) "\n") @@ -965,7 +962,7 @@ (setq mime (webmail-netaddress-single-part)) (widen)) (goto-char (point-min)) - ;; Some blank line to seperate mails. + ;; Some blank line to separate mails. (insert "\n\nFrom nobody " (current-time-string) "\n") (insert "X-Gnus-Webmail: " (symbol-value 'user) "@" (symbol-name webmail-type) "\n") @@ -1151,5 +1148,4 @@ (provide 'webmail) -;;; arch-tag: f75a4558-a8f6-46ec-b1c3-7a6434b3dd71 ;;; webmail.el ends here