diff options
| -rw-r--r-- | custom/jao-custom-programming.el | 5 | ||||
| -rw-r--r-- | init.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el index 672f70f..5437bba 100644 --- a/custom/jao-custom-programming.el +++ b/custom/jao-custom-programming.el @@ -19,7 +19,10 @@ (delete-window w) (eldoc-doc-buffer t)))) -(jao-define-attached-buffer "\\*eldoc\\( .*\\)?\\*" 12) +(add-to-list 'display-buffer-alist + '("\\*eldoc\\( .*\\)?\\*" + (display-buffer-reuse-window) + (dedicated . t))) ;;;; automatic modes (add-to-list 'auto-mode-alist '("\\.mix\\'" . hexl-mode)) @@ -1024,11 +1024,13 @@ display-buffer-avoid-small-windows 20) (setq switch-to-buffer-preserve-window-point nil - switch-to-buffer-obey-display-actions t + switch-to-buffer-obey-display-actions nil + switch-to-buffer-in-dedicated-window 'pop switch-to-prev-buffer-skip 'this) ;; don't switch to a ;; buffer already visible in ;; this frame + (global-set-key (kbd "C-x _") #'delete-other-windows-vertically) ;;;; first window |
