Minor refactoring

This commit is contained in:
Henrik Lissner 2017-02-22 04:28:45 -05:00
parent e967c573d4
commit 32bc9ce767
2 changed files with 1 additions and 7 deletions

View file

@ -33,12 +33,6 @@
(define-key persp-mode-map [remap delete-window] '+workspace/close-window-or-workspace)
;; Ensure unreal/popup buffers aren't saved
(push (lambda (buf) (doom-popup-p (get-buffer-window buf)))
persp-filter-save-buffers-functions)
(push (lambda (buf) (not (doom-real-buffer-p buf)))
persp-common-buffer-filter-functions)
;; Auto-add buffers when opening them. Allows a perspective-specific buffer list.
(defun +workspaces*auto-add-buffer (buffer &rest _)
(when (and persp-mode

View file

@ -49,7 +49,7 @@
:init
(add-hook 'php-mode-hook 'eldoc-mode)
:config
(setq php-extras-eldoc-functions-file (concat doom-cache-dir "/php-extras-eldoc-functions"))
(setq php-extras-eldoc-functions-file (concat doom-cache-dir "php-extras-eldoc-functions"))
;; company will set up itself
(advice-add 'php-extras-company-setup :override 'ignore)