Emacs: Demand window-purpose, projectile depends on it.

This commit is contained in:
tastytea 2020-03-18 15:35:20 +01:00
parent 18085e21de
commit ca9a296d87

View File

@ -1,6 +1,6 @@
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*- ;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-03-18T14:54:44+0100> ;; Time-stamp: <2020-03-18T15:35:10+0100>
;;; Commentary: ;;; Commentary:
;; * Setup scratch buffer. ;; * Setup scratch buffer.
@ -69,6 +69,7 @@
;; Dedicate windows to “purposes”. ;; Dedicate windows to “purposes”.
(use-package window-purpose (use-package window-purpose
;; :pin melpa ; We need > 1.7 <https://github.com/bmag/emacs-purpose/issues/158> ;; :pin melpa ; We need > 1.7 <https://github.com/bmag/emacs-purpose/issues/158>
:demand t ; projectile depends on window-purpose.
:config (progn :config (progn
(purpose-mode) (purpose-mode)
(add-to-list 'purpose-user-mode-purposes '(c++-mode . cpp)) (add-to-list 'purpose-user-mode-purposes '(c++-mode . cpp))