vim: use much clearer sort constant

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras 2013-10-12 04:33:30 -05:00
parent 01859bd7ce
commit 2d583fb17a

View file

@ -302,7 +302,7 @@ ruby << EOF
$messages.clear $messages.clear
$curbuf.render do |b| $curbuf.render do |b|
q = $curbuf.query(get_cur_view) q = $curbuf.query(get_cur_view)
q.sort = 0 q.sort = Notmuch::SORT_OLDEST_FIRST
msgs = q.search_messages msgs = q.search_messages
msgs.each do |msg| msgs.each do |msg|
m = Mail.read(msg.filename) m = Mail.read(msg.filename)