Skip to main content
added 6 characters in body
Source Link
crocefisso
  • 1.5k
  • 10
  • 22

The action triggered by clicking on clear doesn't seem to be associated with a specific function. So you'll have to create a function that replicates this action:

(defun my-notmuch-clear-search-history () (interactive) (when (y-or-n-p "Are you sure you want to clear the searches? ") (setq notmuch-search-history nil) (notmuch-hello-update))) 

The action triggered by clicking on clear doesn't seem associated with a specific function. So you'll have to create a function that replicates this action:

(defun my-notmuch-clear-search-history () (interactive) (when (y-or-n-p "Are you sure you want to clear the searches? ") (setq notmuch-search-history nil) (notmuch-hello-update))) 

The action triggered by clicking on clear doesn't seem to be associated with a specific function. So you'll have to create a function that replicates this action:

(defun my-notmuch-clear-search-history () (interactive) (when (y-or-n-p "Are you sure you want to clear the searches? ") (setq notmuch-search-history nil) (notmuch-hello-update))) 
Source Link
crocefisso
  • 1.5k
  • 10
  • 22

The action triggered by clicking on clear doesn't seem associated with a specific function. So you'll have to create a function that replicates this action:

(defun my-notmuch-clear-search-history () (interactive) (when (y-or-n-p "Are you sure you want to clear the searches? ") (setq notmuch-search-history nil) (notmuch-hello-update)))