* message.el (message-replace-chars-in-string): Ditto.
+2000-08-21 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * nnheader.el (nnheader-replace-chars-in-string): Use `static-if'.
+ * message.el (message-replace-chars-in-string): Ditto.
+
2000-08-19 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>
* nnshimbun.el (nnshimbun-type-definition): Follow changes of ZDNet.
url-view-url w3-prepare-buffer
set-buffer-multibyte
find-non-ascii-charset-region char-charset
- find-charset-region subst-char-in-string
+ find-charset-region
find-coding-systems-region get-charset-property
coding-system-get w3-region
w3-coding-system-for-mime-charset
find-coding-systems-for-charsets find-coding-systems-region
font-lock-set-defaults function-max-args get-charset-property
make-symbolic-link map-extents smiley-encode-buffer
- toolbar-gnus subst-char-in-string)))
+ toolbar-gnus)))
(setq load-path (cons "." load-path))
(require 'custom)
;;; Miscellaneous functions
;; stolen (and renamed) from nnheader.el
-(if (fboundp 'subst-char-in-string)
+(static-if (fboundp 'subst-char-in-string)
(defsubst message-replace-chars-in-string (string from to)
(subst-char-in-string from to string))
(defun message-replace-chars-in-string (string from to)
;;; Code:
(eval-when-compile (require 'cl))
+(eval-when-compile (require 'static))
(require 'mail-utils)
(require 'mime)
(apply 'insert format args))
t))
-(if (fboundp 'subst-char-in-string)
+(static-if (fboundp 'subst-char-in-string)
(defsubst nnheader-replace-chars-in-string (string from to)
(subst-char-in-string from to string))
(defun nnheader-replace-chars-in-string (string from to)