summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-09-15 00:27:06 -0400
committerKyle Meyer <kyle@kyleam.com>2015-09-15 00:27:06 -0400
commit9145855d08441be5a7b8324bf4867131bba6e63f (patch)
treec0678f6f6cb9a9c83833f6a33579d71812270d8a /lisp
parent8d5c133f580e4b731639a316dc118c647bef4d2b (diff)
downloademacs.d-9145855d08441be5a7b8324bf4867131bba6e63f.tar.gz
Remove pointless message format strings
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-bib.el2
-rw-r--r--lisp/init-dired.el2
-rw-r--r--lisp/init-mail.el2
-rw-r--r--lisp/init-projectile.el2
4 files changed, 4 insertions, 4 deletions
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.