aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-06-12 03:49:33 +0000
committerGlenn Morris2008-06-12 03:49:33 +0000
commite9c033a098da0d047c03f17c799a0b35cff627e1 (patch)
treedd8be81224061651b817a0b9fcbc871b30968a85
parentd431decb9e2adf046fbf833a066fbf597074b311 (diff)
downloademacs-e9c033a098da0d047c03f17c799a0b35cff627e1.tar.gz
emacs-e9c033a098da0d047c03f17c799a0b35cff627e1.zip
(rmail-cease-edit): Check tool-bar-mode is bound.
-rw-r--r--lisp/mail/rmailedit.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el
index 4f8271236da..26910241461 100644
--- a/lisp/mail/rmailedit.el
+++ b/lisp/mail/rmailedit.el
@@ -1,7 +1,7 @@
1;;; rmailedit.el --- "RMAIL edit mode" Edit the current message 1;;; rmailedit.el --- "RMAIL edit mode" Edit the current message
2 2
3;; Copyright (C) 1985, 1994, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1994, 2001, 2002, 2003, 2004, 2005, 2006,
4;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 4;; 2007, 2008 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: mail 7;; Keywords: mail
@@ -121,7 +121,8 @@ This functions runs the normal hook `rmail-edit-mode-hook'.
121 (force-mode-line-update) 121 (force-mode-line-update)
122 (kill-all-local-variables) 122 (kill-all-local-variables)
123 (rmail-mode-1) 123 (rmail-mode-1)
124 (set (make-local-variable 'tool-bar-map) rmail-tool-bar-map) 124 (if (boundp 'tool-bar-map)
125 (set (make-local-variable 'tool-bar-map) rmail-tool-bar-map))
125 (rmail-variables) 126 (rmail-variables)
126 ;; As the local value of save-buffer-coding-system is changed by 127 ;; As the local value of save-buffer-coding-system is changed by
127 ;; rmail-variables, we restore the original value. 128 ;; rmail-variables, we restore the original value.