diff options
author | Thomas Voss <thomas.voss@humanwave.nl> | 2025-07-03 15:59:27 +0200 |
---|---|---|
committer | Thomas Voss <thomas.voss@humanwave.nl> | 2025-07-03 15:59:27 +0200 |
commit | 0ca5f198cb8595f3a032abc9c9302d4b06a4c0bf (patch) | |
tree | 120320f58abcf1d1a51acd876d9b4e5d1da224c2 /.config/emacs/modules/mm-projects.el | |
parent | 0ee70366323f93f232c41008f0c425912418fd48 (diff) |
emacs: Be more precise with mm-darwin-p vs mm-humanwave-p
Diffstat (limited to '.config/emacs/modules/mm-projects.el')
-rw-r--r-- | .config/emacs/modules/mm-projects.el | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/.config/emacs/modules/mm-projects.el b/.config/emacs/modules/mm-projects.el index 71006d5..017a88c 100644 --- a/.config/emacs/modules/mm-projects.el +++ b/.config/emacs/modules/mm-projects.el @@ -19,7 +19,7 @@ This is intended to be called interactively via (project-find-file "Find File" ?f) (mm-projects-project-magit-status "Git Status" ?s))) :config - (unless mm-darwin-p + (unless mm-humanwave-p (if-let ((repo-directory (getenv "REPODIR"))) (let* ((list-dir (lambda (path) @@ -70,11 +70,18 @@ This is intended to be called interactively via "push" "-v" args remote (format "refs/heads/%s:refs/heads/%s" branch branch))))) (transient-append-suffix #'magit-push '(1 -1) - '("a" "all remotes" mm-projects-magit-push-current-to-all-remotes))) + '("a" "all remotes" mm-projects-magit-push-current-to-all-remotes)) + (add-to-list 'magit-blame-styles + '(margin + (show-lines . t) + (margin-format . (" %C %a" " %s%f" " ")) + (margin-width . 73) + (margin-face . magit-blame-margin) + (margin-body-face . (magit-blame-dimmed))))) (use-package magit-repos :ensure nil ; Part of ‘magit’ - :if (not mm-darwin-p) + :if (not mm-humanwave-p) :commands (magit-list-repositories) :init (if-let ((directory (getenv "REPODIR"))) |