Skip to content

Commit

Permalink
fix: forge is available only >=29.1
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Feb 20, 2025
1 parent 48abc13 commit 9526818
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions lisp/init-vcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,16 @@
(unbind-key "M-4" magit-mode-map)

;; Access Git forges from Magit
(use-package forge
:demand t
:custom-face
(forge-topic-label ((t (:inherit variable-pitch :height 0.9 :width condensed :weight regular :underline nil))))
:init (setq forge-topic-list-columns
'(("#" 5 forge-topic-list-sort-by-number (:right-align t) number nil)
("Title" 60 t nil title nil)
("State" 6 t nil state nil)
("Updated" 10 t nil updated nil)))))
(when emacs/>=29p
(use-package forge
:demand t
:custom-face
(forge-topic-label ((t (:inherit variable-pitch :height 0.9 :width condensed :weight regular :underline nil))))
:init (setq forge-topic-list-columns
'(("#" 5 forge-topic-list-sort-by-number (:right-align t) number nil)
("Title" 60 t nil title nil)
("State" 6 t nil state nil)
("Updated" 10 t nil updated nil))))))

;; Walk through git revisions of a file
(use-package git-timemachine
Expand Down

0 comments on commit 9526818

Please sign in to comment.