From 03730f5a647d13588b3db0408763bb61a62e3c37 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 13 Jun 2016 17:35:28 -0700 Subject: [PATCH] use shut-up in place of suppress-messages --- dotfiles/emacs.d/README.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index e5354caa..5ab14ae0 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -424,10 +424,6 @@ Prefix alternatives is a macro that builds a function that selects one of a coll (interactive) (insert (imalison:uuid))) - (defmacro suppress-messages (&rest forms) - `(flet ((message (&rest r) nil)) - ,@forms)) - (defun imalison:compare-int-list (a b) (when (and a b) (cond ((> (car a) (car b)) 1) @@ -741,7 +737,7 @@ Sets environment variables by starting a shell (setq appt-time-msg-list nil)) (appt-activate) (defun org-agenda-to-appt-no-message () - (suppress-messages (org-agenda-to-appt))) + (shut-up (org-agenda-to-appt))) (run-at-time "00:00" 60 'org-agenda-to-appt-no-message)) (defun org-archive-if (condition-function) @@ -1870,6 +1866,10 @@ The packages in this section provide no functionality on their own, but support :ensure nil :load-path "~/Projects/gh.el") #+END_SRC +*** shut-up +#+BEGIN_SRC emacs-lisp + (use-package shut-up) +#+END_SRC ** Other *** iedit I don't use iedit directly, but it is used by [[*emr][emr]] and I need to disable ~iedit-toggle-key-default~ or else a buffer pops up complaing that the key has been bound to something else