Prefer newest-to-oldest sorting
The default sorting order of results from notmuch.el are in oldest-to-newest. This prefers the opposite.
This commit is contained in:
		
							parent
							
								
									a726bf737a
								
							
						
					
					
						commit
						1ed7f2ed73
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -27,6 +27,9 @@ | ||||||
|                                (:name "review" :query "tag:review" :key "r") |                                (:name "review" :query "tag:review" :key "r") | ||||||
|                                (:name "waiting" :query "tag:waiting" :key "w"))) |                                (:name "waiting" :query "tag:waiting" :key "w"))) | ||||||
| 
 | 
 | ||||||
|  | ;; Sort results from newest-to-oldest. | ||||||
|  | (setq notmuch-search-oldest-first nil) | ||||||
|  | 
 | ||||||
| ;; Assert that no two saved searches share share a KBD | ;; Assert that no two saved searches share share a KBD | ||||||
| (prelude/assert | (prelude/assert | ||||||
|  (list/xs-distinct-by? (lambda (x) (plist-get x :key)) notmuch-saved-searches)) |  (list/xs-distinct-by? (lambda (x) (plist-get x :key)) notmuch-saved-searches)) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue