Skip to content

Commit

Permalink
Transient and magit-svn fixes
Browse files Browse the repository at this point in the history
- magit-svn-popup renamed to magit-svn (more fallout of Transient)
- more reliable placement of Transient cache files
  • Loading branch information
bmag authored and syl20bnr committed Feb 18, 2019
1 parent 5eff620 commit b364cd3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions layers/+source-control/git/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Press [_b_] again to blame further in the history, [_q_] to go up or quit."
:init (add-hook 'magit-mode-hook 'turn-on-magit-svn)
:config (progn
(spacemacs|diminish magit-svn-mode "SVN")
(define-key magit-mode-map "~" 'magit-svn-popup))))
(define-key magit-mode-map "~" 'magit-svn))))

(defun git/init-orgit ()
(use-package orgit
Expand Down Expand Up @@ -259,11 +259,12 @@ Press [_b_] again to blame further in the history, [_q_] to go up or quit."

(defun git/init-transient ()
(use-package transient
:defer t
:init
(setq
transient-levels-file
(concat spacemacs-cache-directory (convert-standard-filename "transient/levels.el"))
(expand-file-name "transient/levels.el" spacemacs-cache-directory)
transient-values-file
(concat spacemacs-cache-directory (convert-standard-filename "transient/values.el"))
(expand-file-name "transient/values.el" spacemacs-cache-directory)
transient-history-file
(concat spacemacs-cache-directory (convert-standard-filename "transient/history.el")))))
(expand-file-name "transient/history.el" spacemacs-cache-directory))))

0 comments on commit b364cd3

Please sign in to comment.