diff options
author | Kan-Ru Chen <kanru@kanru.info> | 2009-12-01 14:13:53 +0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-02-05 11:31:38 -0800 |
commit | d9c9e56912d71e6eca3caf1eac2482529e01308c (patch) | |
tree | 16ced0df83a1e25e8f975b5d2c291a58c9fc20ec | |
parent | 78c85f053b28be0ed6c42981bc028739a98d3d93 (diff) |
notmuch.el: Use emacs built-in forward-button and backward-button
There are built-ins, so why not use them?
Signed-off-by: Kan-Ru Chen <kanru@kanru.info>
-rw-r--r-- | notmuch.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -564,12 +564,12 @@ which this thread was originally shown." (defun notmuch-show-next-button () "Advance point to the next button in the buffer." (interactive) - (goto-char (button-start (next-button (point))))) + (forward-button 1)) (defun notmuch-show-previous-button () "Move point back to the previous button in the buffer." (interactive) - (goto-char (button-start (previous-button (point))))) + (backward-button 1)) (defun notmuch-toggle-invisible-action (cite-button) (let ((invis-spec (button-get cite-button 'invisibility-spec))) |