From: Katsumi Yamaoka Date: Fri, 27 Feb 2009 02:32:28 +0000 (+0000) Subject: lpath.el: Fbind rmail-swap-buffers-maybe for Emacs 21~22; X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=72c4c5a312ef883bbe2027b71809b56e48ab2c6e lpath.el: Fbind rmail-swap-buffers-maybe for Emacs 21~22; fbind rmail-msg-restore-non-pruned-header, rmail-swap-buffers-maybe and rmail-toggle-header for XEmacs; bind rmail-default-file and rmail-default-rmail-file for XEmacs. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2c03a9088..9ae72c6fb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2009-02-27 Katsumi Yamaoka + + * lpath.el: Fbind rmail-swap-buffers-maybe for Emacs 21~22; + fbind rmail-msg-restore-non-pruned-header, rmail-swap-buffers-maybe and + rmail-toggle-header for XEmacs; + bind rmail-default-file and rmail-default-rmail-file for XEmacs. + 2009-02-25 Katsumi Yamaoka * gnus-dired.el: Remove autoload for gnus-setup-message. diff --git a/lisp/lpath.el b/lisp/lpath.el index 434284fb9..54f98233c 100644 --- a/lisp/lpath.el +++ b/lisp/lpath.el @@ -21,8 +21,8 @@ '(Info-index Info-index-next Info-menu bbdb-complete-name display-time-event-handler epg-check-configuration find-coding-system frame-device w3-do-setup - w3-prepare-buffer w3-region w32-focus-frame w3m-detect-meta-charset - w3m-region)) + rmail-swap-buffers-maybe w3-prepare-buffer w3-region w32-focus-frame + w3m-detect-meta-charset w3m-region)) (maybe-bind '(w3m-link-map))) @@ -51,6 +51,8 @@ (when (featurep 'xemacs) (defun nnkiboze-score-file (a)) (defun split-line (&optional arg)) + (eval-after-load "rmail" + '(defun rmail-toggle-header (&optional arg))) (maybe-fbind '(clear-string codepage-setup create-image detect-coding-string @@ -61,6 +63,7 @@ mail-abbrevs-setup make-mode-line-mouse-map make-network-process mouse-minibuffer-check mouse-movement-p mouse-scroll-subr pgg-display-output-buffer posn-point posn-window put-image read-event + rmail-msg-restore-non-pruned-header rmail-swap-buffers-maybe select-safe-coding-system sort-coding-systems track-mouse ucs-to-char url-generic-parse-url url-http-file-exists-p url-insert-file-contents vcard-pretty-print w3m-detect-meta-charset w3m-region window-edges)) @@ -71,8 +74,8 @@ filladapt-mode gnus-agent-expire-current-dirs help-xref-stack-item idna-program installation-directory line-spacing mark-active mouse-selection-click-count - mouse-selection-click-count-buffer ps-print-color-p - rmail-insert-mime-forwarded-message-function + mouse-selection-click-count-buffer ps-print-color-p rmail-default-file + rmail-default-rmail-file rmail-insert-mime-forwarded-message-function show-trailing-whitespace tool-bar-mode transient-mark-mode url-version w3-meta-charset-content-type-regexp w3m-link-map w3-meta-content-type-charset-regexp))