Skip to content

Commit

Permalink
fix: return value of the advice on message (#49)
Browse files Browse the repository at this point in the history
Fix #44.
  • Loading branch information
AmaiKinono authored Dec 21, 2020
1 parent a4455fb commit 7dcd0ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mini-modeline.el
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ Return value is (STRING . LINES)."
(apply func args)
(let* ((inhibit-message t)
(mini-modeline--msg-message (apply func args)))
(mini-modeline-display 'force))))
(mini-modeline-display 'force)
mini-modeline--msg-message)))

(defmacro mini-modeline--wrap (func &rest body)
"Add an advice around FUNC with name mini-modeline--%s.
Expand Down

0 comments on commit 7dcd0ab

Please sign in to comment.