Make sure magit-log-edit-toggle-field returns the right value.

This commit is contained in:
Nathan Weizenbaum 2010-06-24 18:46:23 -07:00
parent 120c5f8ec0
commit b8d6d5c08b

View file

@ -3161,7 +3161,8 @@ toggled on. When it's toggled on for the first time, return
(rplacd cell (if yesp "no" "yes"))) (rplacd cell (if yesp "no" "yes")))
(setq fields (acons name (if default "yes" "no") fields)) (setq fields (acons name (if default "yes" "no") fields))
(setq yesp (if default 'first))) (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) (defun magit-log-edit-setup-author-env (author)
(cond (author (cond (author