[Emacs] Let org popup buffers wherever it likes

This commit is contained in:
Ivan Malison 2017-10-19 21:02:53 -07:00
parent aa502f8d73
commit a145791f63
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1162,12 +1162,6 @@ it on by default. Its probably safe to turn it on when in a programming mode.
:demand t :demand t
:config :config
(progn (progn
(defun imalison:maybe-use-frames-for-org (&rest args)
(let ((fn (if frame-mode 'switch-to-buffer-other-frame
'switch-to-buffer-other-window)))
(apply fn args)))
(advice-add 'org-switch-to-buffer-other-window
:override 'imalison:maybe-use-frames-for-org)
(add-hook 'frame-mode-hook (lambda () (display-time-mode -1))) (add-hook 'frame-mode-hook (lambda () (display-time-mode -1)))
(frame-mode +1) (frame-mode +1)
(frame-keys-mode +1))) (frame-keys-mode +1)))
@ -2732,7 +2726,7 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
#+END_SRC #+END_SRC
**** haskell-ide-engine **** haskell-ide-engine
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
;; (use-package lsp-haskell) (use-package lsp-haskell)
#+END_SRC #+END_SRC
**** intero **** intero
Intero seems to be causing hangs, so it has been disabled Intero seems to be causing hangs, so it has been disabled
@ -3422,7 +3416,7 @@ alphanumeric characters only."
**** org-projectile **** org-projectile
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package org-projectile (use-package org-projectile
:defer t :defer 3
:config :config
(progn (progn
(setq org-projectile-projects-file (setq org-projectile-projects-file