Skip to content

Commit

Permalink
magit-wash-message-hook: New hook variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Jun 25, 2024
1 parent c051d61 commit 594bd14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lisp/magit-diff.el
Original file line number Diff line number Diff line change
Expand Up @@ -2720,6 +2720,8 @@ or a ref which is not a branch, then it inserts nothing."
(put-text-property (match-beginning 0)
(match-end 0)
'font-lock-face 'magit-keyword))))
(run-hook-wrapped 'magit-wash-message-hook
(lambda (fn) (save-excursion (funcall fn))))
(buffer-string)))

(defun magit-revision--wash-message-hashes ()
Expand Down

0 comments on commit 594bd14

Please sign in to comment.