From 424e7a3cb5aa23eed0819affa8acf6eaf83b0e88 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Fri, 17 Sep 2010 15:51:25 +0000 Subject: [PATCH] wl-demo.el: Prune functions provided temporarily to avoid compile warnings in the end. --- wl/ChangeLog | 5 +++++ wl/wl-demo.el | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/wl/ChangeLog b/wl/ChangeLog index c2580e9..8b79ed3 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,8 @@ +2010-09-18 Katsumi Yamaoka + + * wl-demo.el: Prune functions provided temporarily to avoid + compile warnings in the end. + 2010-09-08 Tetsurou Okazaki * wl-spam.el (wl-spam-register-spam-messages): Put spam mark on diff --git a/wl/wl-demo.el b/wl/wl-demo.el index 38f78c0..a328149 100644 --- a/wl/wl-demo.el +++ b/wl/wl-demo.el @@ -408,6 +408,17 @@ argument." 1)) buffer)) +;; Prune functions provided temporarily to avoid compile warnings. +(eval-when-compile + (dolist (fn '(face-background-name + frame-char-height frame-char-width glyph-height glyph-width + image-size make-extent propertize set-extent-end-glyph + window-pixel-height window-pixel-width)) + (when (and (get fn 'defalias-maybe) + (eq (symbol-function fn) 'ignore)) + (put fn 'defalias-maybe nil) + (fmakunbound fn)))) + (require 'product) (product-provide (provide 'wl-demo) (require 'wl-version)) -- 1.7.10.4