Created
December 2, 2014 13:52
-
-
Save adamwg/c860d4e905756eeaf7f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun notmuch-show-previous-thread (&optional show-next) | |
"Move to the previous item in the search results, if any." | |
(interactive "P") | |
(let ((parent-buffer notmuch-show-parent-buffer)) | |
(notmuch-kill-this-buffer) | |
(when parent-buffer | |
(switch-to-buffer parent-buffer) | |
(notmuch-search-previous-thread) | |
(if show-next | |
(notmuch-search-show-thread))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment