From 51b370d76ddccef790e3ef205b404b89ddbcf198 Mon Sep 17 00:00:00 2001 From: kaoru Date: Thu, 11 Nov 2004 04:30:49 +0000 Subject: [PATCH] * wl-summary.el (wl-summary-mode): Set `show-trailing-whitespace' after boundp check. --- wl/ChangeLog | 5 +++++ wl/wl-summary.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/wl/ChangeLog b/wl/ChangeLog index bf4ddeb..0cfe909 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,8 @@ +2004-11-11 TAKAHASHI Kaoru + + * wl-summary.el (wl-summary-mode): Set `show-trailing-whitespace' + after boundp check. + 2004-11-07 Hiroya Murata * wl-summary.el (wl-summary-mimic-kill-buffer): New command. diff --git a/wl/wl-summary.el b/wl/wl-summary.el index 56ab4b9..efb6cb2 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -880,7 +880,8 @@ Entering Folder mode calls the value of `wl-summary-mode-hook'." ;;;(setq default-directory (or wl-tmp-dir (expand-file-name "~/"))) (setq buffer-read-only t) (setq truncate-lines t) - (setq show-trailing-whitespace nil) + (when (boundp 'show-trailing-whitespace) + (setq show-trailing-whitespace nil)) ;;;(make-local-variable 'tab-width) ;;;(setq tab-width 1) (buffer-disable-undo (current-buffer)) -- 1.7.10.4