From 9145855d08441be5a7b8324bf4867131bba6e63f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 15 Sep 2015 00:27:06 -0400 Subject: Remove pointless message format strings --- lisp/init-bib.el | 2 +- lisp/init-dired.el | 2 +- lisp/init-mail.el | 2 +- lisp/init-projectile.el | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lisp') diff --git a/lisp/init-bib.el b/lisp/init-bib.el index e04ff8e..d35dea1 100644 --- a/lisp/init-bib.el +++ b/lisp/init-bib.el @@ -128,7 +128,7 @@ point. The link is opened using the settings of "Copy DOI at point to kill ring." (interactive) (-when-let (doi (km/doi-at-point)) - (kill-new (message "%s" (concat "doi:" doi))))) + (kill-new (message (concat "doi:" doi))))) (defun km/doi-at-point () "Return DOI at point." diff --git a/lisp/init-dired.el b/lisp/init-dired.el index 2c2577d..0d195d1 100644 --- a/lisp/init-dired.el +++ b/lisp/init-dired.el @@ -163,7 +163,7 @@ relative to DIRECTORY." (if (eq last-command 'kill-region) (kill-append string nil) (kill-new string)) - (message "%s" string))) + (message string))) (defun km/other-default-directory () "Get `default-directory' for result of `(other-window 1)'." diff --git a/lisp/init-mail.el b/lisp/init-mail.el index bb16317..46971eb 100644 --- a/lisp/init-mail.el +++ b/lisp/init-mail.el @@ -212,7 +212,7 @@ to group buffer instead of moving to next group." (defun km/notmuch-show-copy-message-id-as-kill () (interactive) - (kill-new (message "%s" (notmuch-show-get-message-id)))) + (kill-new (message (notmuch-show-get-message-id)))) (define-key notmuch-hello-mode-map "o" 'km/ace-link-widget) diff --git a/lisp/init-projectile.el b/lisp/init-projectile.el index 2a20e7f..7c225e6 100644 --- a/lisp/init-projectile.el +++ b/lisp/init-projectile.el @@ -67,7 +67,7 @@ use the name of the current file." (if (eq last-command 'kill-region) (kill-append fname nil) (kill-new fname)) - (message "%s" fname))) + (message fname))) (defvar km/projectile-project-saved-thing nil "Property list of saved thing for projects. -- cgit v1.2.3