.emacs.d/init.el

This commit is contained in:
Tom Willemsen 2012-09-17 20:01:41 +02:00
parent 68a6bbf6e3
commit d6c8f4f979

View file

@ -561,7 +561,7 @@ use. If MODE is not nil, open a new buffer with the name
(when (fboundp mode-sym) (when (fboundp mode-sym)
(funcall mode-sym)))) (funcall mode-sym))))
(switch-to-buffer buffer))) (select-window (display-buffer buffer))))
(defun oni:reload-buffer () (defun oni:reload-buffer ()
"Reload current buffer." "Reload current buffer."
@ -1067,6 +1067,9 @@ for easy selection."
(add-to-list 'debug-ignored-errors "^Can't shift all lines enough") (add-to-list 'debug-ignored-errors "^Can't shift all lines enough")
(add-to-list 'display-buffer-alist
'("^\\*.*\\*$" . ((bw-display-in-bottom-window . nil))))
(unless (oni:required-packages-installed-p) (unless (oni:required-packages-installed-p)
(message "%s" "Refreshing package database...") (message "%s" "Refreshing package database...")
(package-refresh-contents) (package-refresh-contents)