Browse Source

change way to display frame initial buffer

pull/1/head
10sr 12 years ago
parent
commit
32e24f3075
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      emacs.el

+ 4
- 3
emacs.el View File

@@ -738,9 +738,10 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; frame buffer

(add-hook 'before-make-frame-hook
(lambda ()
(switch-to-buffer "*Messages*")))
(add-hook 'after-make-frame-functions
(lambda (frame)
(set-window-buffer (frame-selected-window frame)
"*Messages*")))

(defvar my-frame-buffer-plist nil)



Loading…
Cancel
Save