aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Pieter Praet <pieter@praet.org>2012-02-22 19:43:30 +0100
committerGravatar David Bremner <bremner@debian.org>2012-10-20 12:10:41 -0300
commit0db6c7b8be29026df832ef7d7cb02f5183fc9c7f (patch)
tree876e9df5a3fa48c233df7e4c3ae411bd195ceb9c /test
parentf5aa5ac6c70aa3b7d38047722b467fbda70210d5 (diff)
emacs: rename `notmuch-show-toggle-headers' to `notmuch-show-toggle-visibility-headers'
* emacs/notmuch-show.el (notmuch-show-toggle-headers): Rename to `notmuch-show-toggle-visibility-headers'. (notmuch-show-mode-map): Update "h" binding wrt renamed `notmuch-show-toggle-headers'. (notmuch-message-headers): Update docstring wrt renamed `notmuch-show-toggle-headers'. (notmuch-message-headers-visible): Update docstring wrt renamed `notmuch-show-toggle-headers'. Also fixed a small typo. * test/emacs: Update subtest wrt renamed `notmuch-show-toggle-headers': - "notmuch-show: hide message headers (w/ notmuch-show-toggle-headers)"
Diffstat (limited to 'test')
-rwxr-xr-xtest/emacs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/emacs b/test/emacs
index 7db9f4fb..21f1d163 100755
--- a/test/emacs
+++ b/test/emacs
@@ -609,12 +609,12 @@ test_emacs \
(test-visible-output))'
test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-message-with-headers-hidden
-test_begin_subtest "notmuch-show: hide message headers (w/ notmuch-show-toggle-headers)"
+test_begin_subtest "notmuch-show: hide message headers (w/ notmuch-show-toggle-visibility-headers)"
test_emacs \
'(let ((notmuch-message-headers '\''("Subject" "To" "Cc" "Date"))
(notmuch-message-headers-visible t))
(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.gmail.com")
- (notmuch-show-toggle-headers)
+ (notmuch-show-toggle-visibility-headers)
(test-visible-output))'
test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-message-with-headers-hidden