branch: elpa/git-commit commit 82ba5b2828383213ffab6c483f7d787b5c9da0ef Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-log-format-author-margin: Better error of no margin option --- lisp/magit-log.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/magit-log.el b/lisp/magit-log.el index 9b72539462..6d8d5ed109 100644 --- a/lisp/magit-log.el +++ b/lisp/magit-log.el @@ -1595,7 +1595,8 @@ The shortstat style is experimental and rather slow." (defun magit-log-format-author-margin (author date &optional previous-line) (pcase-let ((`(,_ ,style ,width ,details ,details-width) (or magit-buffer-margin - (symbol-value (magit-margin-option))))) + (symbol-value (magit-margin-option)) + (error "No margin format specified for %s" major-mode)))) (magit-make-margin-overlay (concat (and details (concat (magit--propertize-face