From a638e15c0dd14a25e6f032b08de5ee1575677497 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 31 Aug 2020 23:28:47 +0100 Subject: Lint string, macros.el More of the same type of linting... basically preferring `namespace-` instead of `namespace/`. --- emacs/.emacs.d/wpc/kbd.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'emacs/.emacs.d/wpc/kbd.el') diff --git a/emacs/.emacs.d/wpc/kbd.el b/emacs/.emacs.d/wpc/kbd.el index 9201f258693f..dd47845e65b5 100644 --- a/emacs/.emacs.d/wpc/kbd.el +++ b/emacs/.emacs.d/wpc/kbd.el @@ -50,7 +50,7 @@ Values for F include: - workspace - x11" (prelude-assert (alist/has-key? f kbd/prefixes)) - (string/format + (string-format "%s-%s" (alist/get f kbd/prefixes) x)) @@ -69,14 +69,14 @@ Values for F include: (interactive) (message "[kbd] Awaiting keypress...") (let ((key (read-key))) - (clipboard/copy (string/format "%s" key)) - (message (string/format "[kbd] \"%s\" copied!" key)))) + (clipboard/copy (string-format "%s" key)) + (message (string-format "[kbd] \"%s\" copied!" key)))) (defun kbd/print-keycode () "Prints the pressed keybinding." (interactive) (message "[kbd] Awaiting keypress...") - (message (string/format "[kbd] keycode: %s" (read-key)))) + (message (string-format "[kbd] keycode: %s" (read-key)))) (provide 'kbd) ;;; kbd.el ends here -- cgit 1.4.1