]> git.notmuchmail.org Git - notmuch/commit
test: add test-lib.el file with `visible-buffer-string' function
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Thu, 26 May 2011 16:27:58 +0000 (20:27 +0400)
committerCarl Worth <cworth@cworth.org>
Thu, 26 May 2011 21:13:48 +0000 (14:13 -0700)
commit5297b361d1c5c7dd62b80da0327c091e4c23b140
tree6c84aa0124ecfc538d20997a099ec692eec27107
parentb15cfd7ffae961b94f45e4402ede05146cf9416d
test: add test-lib.el file with `visible-buffer-string' function

The patch adds test-lib.el file for Emacs tests auxiliary stuff.
Currently, it implements two functions: `visible-buffer-string'
and `visible-buffer-substring'.  These are similar to standard
counterparts without "visible-" prefix but exclude invisible
text.  The functions are not used anywhere at the moment but
should be useful for testing hiding/showing in the Emacs
interface.

Edited-by: Carl Worth <cworth@cworth.org> Fixed "basic" test to ignore
new test-lib.el file.
test/basic
test/test-lib.el [new file with mode: 0644]
test/test-lib.sh