From 6e8b40d9ba359dd7d6bf3060d8e5b121d56b41f2 Mon Sep 17 00:00:00 2001 From: teranisi Date: Tue, 9 May 2000 16:19:58 +0000 Subject: [PATCH] (elmo-buffer-cache-add): Set message cache buffer as unibyte. --- elmo/elmo-cache.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elmo/elmo-cache.el b/elmo/elmo-cache.el index f0ea53c..e6dad86 100644 --- a/elmo/elmo-cache.el +++ b/elmo/elmo-cache.el @@ -399,6 +399,9 @@ Returning its cache buffer." (setq buf (get-buffer-create (format "%s%d" elmo-buffer-cache-name len))) (setq buf (elmo-buffer-cache-buffer-get (nth (1- len) elmo-buffer-cache))) (setcdr (nthcdr (- len 2) elmo-buffer-cache) nil)) + (save-excursion + (set-buffer buf) + (elmo-set-buffer-multibyte nil)) (setq elmo-buffer-cache (cons (elmo-buffer-cache-entry-make fld-msg-id buf) elmo-buffer-cache)) -- 1.7.10.4