From: Carl Worth Date: Tue, 9 Mar 2010 01:24:34 +0000 (-0800) Subject: emacs: Unbreak notmuch-show-rewind (the function to which Backspace is bound) X-Git-Tag: 0.1~71 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=c963098e2890922ffcf0991466ba66f724e2dfa4;hp=095a02211e696434e5b41a85ab516b3a639f9a9b;ds=sidebyside emacs: Unbreak notmuch-show-rewind (the function to which Backspace is bound) Commit 095a02211e696434e5b41a85ab516b3a639f9a9b broke the backspace key by trying to execute nil as a function, (which obviously won't work), when it was intended as a return value. Fix this now, (and pine for a test suite that exercises the emacs user-interface of notmuch). --- diff --git a/notmuch.el b/notmuch.el index 5577dde7..cd4d9963 100644 --- a/notmuch.el +++ b/notmuch.el @@ -592,7 +592,7 @@ Returns nil if already on the first message in the buffer." nil t)) (recenter 0) - (nil)))) + nil))) (defun notmuch-show-previous-message () "Backup to the previous message (whether open or closed)