From b8d6d5c08b97755ec3577fa2ab5c236e4f94d1ad Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Thu, 24 Jun 2010 18:46:23 -0700 Subject: [PATCH] Make sure magit-log-edit-toggle-field returns the right value. --- magit.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/magit.el b/magit.el index b71f951f..9955db25 100644 --- a/magit.el +++ b/magit.el @@ -3161,7 +3161,8 @@ toggled on. When it's toggled on for the first time, return (rplacd cell (if yesp "no" "yes"))) (setq fields (acons name (if default "yes" "no") fields)) (setq yesp (if default 'first))) - (magit-log-edit-set-fields fields))) + (magit-log-edit-set-fields fields) + yesp)) (defun magit-log-edit-setup-author-env (author) (cond (author