First commit.
This commit is contained in:
22
lisp/utilities/transient.el
Normal file
22
lisp/utilities/transient.el
Normal file
@@ -0,0 +1,22 @@
|
||||
;;; transient.el --- Configuration for transient. -*- lexical-binding: t; -*-
|
||||
;;; Commentary: Taking inspiration from prefix keys and prefix arguments,
|
||||
;;; Transient implements a similar abstraction involving a prefix command, infix arguments and suffix commands
|
||||
;;; Code: https://github.com/magit/transient
|
||||
|
||||
(use-package transient
|
||||
:ensure nil
|
||||
:config
|
||||
;; Using `validate-setq' here will cause loading to file if the
|
||||
;; history file does not exist.
|
||||
(setq
|
||||
;; Location of transient files.
|
||||
transient-history-file (path-join *user-cache-directory* "transient" "history.el")
|
||||
transient-values-file (path-join *user-cache-directory* "transient" "values.el")
|
||||
transient-levels-file (path-join *user-cache-directory* "transient" "levels.el"))
|
||||
|
||||
;; Create the transient cache folder.
|
||||
(make-directory (path-join *user-cache-directory* "transient") t))
|
||||
|
||||
|
||||
(provide 'utilities/transient)
|
||||
;;; transient.el ends here
|
Reference in New Issue
Block a user