From 4bffcce8be1f180ed2b491a620b19db9764c5de2 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 1 Feb 2012 21:53:45 +0900 Subject: [PATCH] fix bug --- emacs.el | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/emacs.el b/emacs.el index 6936069..bdf2416 100644 --- a/emacs.el +++ b/emacs.el @@ -731,16 +731,11 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; frame buffer -(add-hook 'after-make-frame-functions - (lambda (frame) - (switch-to-buffer (recentf-open-files)))) - -;; (defvar aaa nil) -;; (plist-get aaa 'abc) -;; (setq aaa (plist-put aaa 'abc 'efg)) +(add-hook 'before-make-frame-hook + (lambda () + (switch-to-buffer "*Messages*"))) (defvar my-frame-buffer-plist nil) -;; (setplist my-frame-buffer-plist nil) (defun my-frame-buffer-add (&optional buf frame) ""