From c2436550b1c900f2f3266d965f101b1c08d748eb Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 25 Jan 2021 16:58:07 +0000 Subject: ednc: dismiss all --- eos/jao-ednc.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'eos') diff --git a/eos/jao-ednc.el b/eos/jao-ednc.el index 03d4049..a05f550 100644 --- a/eos/jao-ednc.el +++ b/eos/jao-ednc.el @@ -1,6 +1,6 @@ ;;; jao-ednc.el --- Minibuffer notifications using EDNC -*- lexical-binding: t; -*- -;; Copyright (C) 2020 jao +;; Copyright (C) 2020, 2021 jao ;; Author: jao ;; Keywords: tools, abbrev @@ -137,5 +137,11 @@ (ednc-dismiss-notification (jao-ednc--last-notification))))) (jao-ednc--clean)) +;;;###autoload +(defun jao-ednc-dismiss-all () + (interactive) + (while (jao-ednc--last-notification) + (jao-ednc-dismiss))) + (provide 'jao-ednc) ;;; jao-ednc.el ends here -- cgit v1.2.3