From 3db594868cb43b3c7260cd8e3cbdd0f7f8ad3be6 Mon Sep 17 00:00:00 2001 From: kaoru Date: Sun, 31 Dec 2000 12:37:59 +0000 Subject: [PATCH] Revert x-face-mule setting. Add &optional to lambda function. (for forward compatibility) --- samples/en/dot.wl | 5 ++++- samples/ja/dot.wl | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/samples/en/dot.wl b/samples/en/dot.wl index 69944ff..f06b1fc 100644 --- a/samples/en/dot.wl +++ b/samples/en/dot.wl @@ -340,7 +340,10 @@ 'x-face-xmas-wl-display-x-face)) ((module-installed-p 'x-face-mule) ;; for Mule (GNU Emacs) ;; after x-face-mule 0.20 - (setq wl-highlight-x-face-func 'x-face-decode-message-header) + (setq wl-highlight-x-face-func + (function + (lambda (&optional beg end) ; for compatibility + (x-face-decode-message-header)))) (setq x-face-mule-highlight-x-face-style 'xmas) (require 'x-face-mule) ))) diff --git a/samples/ja/dot.wl b/samples/ja/dot.wl index 707def0..3af0ef2 100644 --- a/samples/ja/dot.wl +++ b/samples/ja/dot.wl @@ -350,7 +350,10 @@ 'x-face-xmas-wl-display-x-face)) ((module-installed-p 'x-face-mule) ;; for Mule (GNU Emacs) ;; x-face-mule 0.20以後 - (setq wl-highlight-x-face-func 'x-face-decode-message-header) + (setq wl-highlight-x-face-func + (function + (lambda (&optional beg end) ; for compatibility + (x-face-decode-message-header)))) (setq x-face-mule-highlight-x-face-style 'xmas) (require 'x-face-mule) ))) -- 1.7.10.4