mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 04:20:57 +01:00
+fixes
This commit is contained in:
9
.emacs
9
.emacs
@@ -580,6 +580,7 @@
|
||||
|
||||
;; 20170727.01:
|
||||
;; - +magit
|
||||
;; - configured magit dirs
|
||||
|
||||
;; ** TODO
|
||||
|
||||
@@ -4401,6 +4402,14 @@ defun."
|
||||
(defalias 'git 'magit-status)
|
||||
(defalias 'gitlog 'magit-log-buffer-file)
|
||||
|
||||
;; configure magit
|
||||
(with-eval-after-load 'magit
|
||||
(setq tvd-git-dirs)
|
||||
(dolist (dir (list (expand-file-name "~/D/github")
|
||||
(expand-file-name "~/dev/git")))
|
||||
(when (file-exists-p dir)
|
||||
(add-to-list 'magit-repository-directories (cons dir 1)))))
|
||||
|
||||
;; one thing though: on startup it bitches about git version, but it
|
||||
;; works nevertheless. So I disable this specific warning.
|
||||
|
||||
|
||||
904
emacs.html
904
emacs.html
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user