42 lines
936 B
EmacsLisp
42 lines
936 B
EmacsLisp
;;; workflow.el --- Module file for setting up workflows.
|
|
;;
|
|
;; Copyright (C) 2017 Wojciech Kozlowski
|
|
;;
|
|
;; Author: Wojciech Kozlowski <wk@wojciechkozlowski.eu>
|
|
;; Created: 25 Aug 2017
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;;; Commentary:
|
|
;;
|
|
;; This module sets up configuration for a workflow and is expected to be
|
|
;; loaded last.
|
|
;;
|
|
;;; License: GPLv3
|
|
|
|
;;; Required packages:
|
|
|
|
(setq emodule/workflow-packages
|
|
|
|
'(workgroups2)
|
|
|
|
)
|
|
|
|
;;; Configuration:
|
|
|
|
(defun emodule/workflow-init ()
|
|
|
|
;; --------------------------------------------------------------------------
|
|
;; Enable `workgroups'.
|
|
;; --------------------------------------------------------------------------
|
|
|
|
(use-package workgroups2
|
|
:init
|
|
(workgroups-mode 1)
|
|
:config
|
|
;; Don't save. Workgroups are transient to the session.
|
|
(setq wg-emacs-exit-save-behavior nil)
|
|
(setq wg-workgroups-mode-exit-save-behavior nil))
|
|
|
|
)
|