null+****@clear*****
null+****@clear*****
Mon Jun 25 19:56:54 JST 2012
yuta yamada 2012-06-25 19:56:54 +0900 (Mon, 25 Jun 2012) New Revision: b6ec9ea5ab4c17b46cfa4e1ada0e42a7a5407a9b https://github.com/logaling/logalimacs/commit/b6ec9ea5ab4c17b46cfa4e1ada0e42a7a5407a9b Log: Use buffer-read-only function instead of toggle-read-only Modified files: logalimacs.el Modified: logalimacs.el (+2 -2) =================================================================== --- logalimacs.el 2012-06-25 19:35:51 +0900 (ab72308) +++ logalimacs.el 2012-06-25 19:56:54 +0900 (07dfaf7) @@ -423,11 +423,11 @@ other-window-scroll-buffer "*logalimacs*") (with-temp-buffer (switch-to-buffer (get-buffer-create "*logalimacs*")) - (toggle-read-only 0) + (setq buffer-read-only nil) (erase-buffer) ;;initialize (insert content) (beginning-of-buffer) - (toggle-read-only 1)) + (setq buffer-read-only t)) (switch-to-buffer loga-base-buffer) (popwin:popup-buffer (get-buffer-create "*logalimacs*") -------------- next part -------------- An HTML attachment was scrubbed... 다운로드