Skip to content

Commit

Permalink
fix: get active infix value correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyinz committed Sep 29, 2023
1 parent 7b380a6 commit cbe9388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-cliff.el
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ should not change it manually.")
(ignore-errors (locate-dominating-file (buffer-file-name) ".git")))

(defun git-cliff--get-infix (infix)
"Return the value of INFIX in current `git-cliff-menu'."
(transient-arg-value infix (transient-args 'git-cliff-menu)))
"Return the value of INFIX in current active `git-cliff-menu'."
(transient-arg-value infix (transient-args transient-current-command)))

;; (defun git-cliff--relative-path (filename dir)
;; "Convert FILENAME to relative path if it's inside in DIR, otherwise return."
Expand Down

0 comments on commit cbe9388

Please sign in to comment.