X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-lib.el;h=9d4e00f6958e5814f113d2f7b68bb3b9b6b540bb;hp=dfdcd0520b021e101acc2c105616c720b46c2f1a;hb=128b6259ee327adf9189b81034b3b6962e8b9dbc;hpb=ea1c2bb5c5ab7115e3259d2e66e19398ce4cc19f diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index dfdcd052..9d4e00f6 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -94,6 +94,13 @@ the user hasn't set this variable with the old or new value." ;; +(defun notmuch-common-do-stash (text) + "Common function to stash text in kill ring, and display in minibuffer." + (kill-new text) + (message "Stashed: %s" text)) + +;; + ;; XXX: This should be a generic function in emacs somewhere, not ;; here. (defun point-invisible-p () @@ -110,3 +117,4 @@ within the current window." (assq prop buffer-invisibility-spec))))) (provide 'notmuch-lib) +