Revert x-face-mule setting.
authorkaoru <kaoru>
Sun, 31 Dec 2000 12:37:59 +0000 (12:37 +0000)
committerkaoru <kaoru>
Sun, 31 Dec 2000 12:37:59 +0000 (12:37 +0000)
Add &optional to lambda function. (for forward compatibility)

samples/en/dot.wl
samples/ja/dot.wl

index 69944ff..f06b1fc 100644 (file)
               '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)
         )))
index 707def0..3af0ef2 100644 (file)
               'x-face-xmas-wl-display-x-face))
        ((module-installed-p 'x-face-mule)      ;; for Mule (GNU Emacs)
         ;; x-face-mule 0.20\e$B0J8e\e(B
-        (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)
         )))