diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-31T22·28+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-31T22·33+0100 |
commit | a638e15c0dd14a25e6f032b08de5ee1575677497 (patch) | |
tree | 3c4bdda33fc80a52242c7016c11be4e981d7d2ac /emacs/.emacs.d/wpc/kbd.el | |
parent | 158f810981fa0a77de76f0f7e07b60482a9ba10e (diff) |
Lint string, macros.el
More of the same type of linting... basically preferring `namespace-` instead of `namespace/`.
Diffstat (limited to 'emacs/.emacs.d/wpc/kbd.el')
-rw-r--r-- | emacs/.emacs.d/wpc/kbd.el | 8 |
1 files changed, 4 insertions, 4 deletions
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 |