about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/keyboard.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-31T22·28+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-31T22·33+0100
commita638e15c0dd14a25e6f032b08de5ee1575677497 (patch)
tree3c4bdda33fc80a52242c7016c11be4e981d7d2ac /emacs/.emacs.d/wpc/keyboard.el
parent158f810981fa0a77de76f0f7e07b60482a9ba10e (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/keyboard.el')
-rw-r--r--emacs/.emacs.d/wpc/keyboard.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/emacs/.emacs.d/wpc/keyboard.el b/emacs/.emacs.d/wpc/keyboard.el
index 91f17faa12fd..2a970d18d824 100644
--- a/emacs/.emacs.d/wpc/keyboard.el
+++ b/emacs/.emacs.d/wpc/keyboard.el
@@ -45,7 +45,7 @@
 
 (defun keyboard/message (x)
   "Message X in a structured way."
-  (message (string/format "[keyboard.el] %s" x)))
+  (message (string-format "[keyboard.el] %s" x)))
 
 (cl-defun keyboard/set-key-repeat (&key
                                    (rate keyboard/repeat-rate)
@@ -53,7 +53,7 @@
   "Use xset to set the key-repeat RATE and DELAY."
   (prelude-start-process
    :name "keyboard/set-key-repeat"
-   :command (string/format "xset r rate %s %s" delay rate)))
+   :command (string-format "xset r rate %s %s" delay rate)))
 
 ;; NOTE: Settings like this are machine-dependent. For instance I only need to
 ;; do this on my laptop and other devices where I don't have access to my split
@@ -78,7 +78,7 @@
   (setq keyboard/repeat-rate (number/inc keyboard/repeat-rate))
   (keyboard/set-key-repeat :rate keyboard/repeat-rate)
   (keyboard/message
-   (string/format "Rate: %s" keyboard/repeat-rate)))
+   (string-format "Rate: %s" keyboard/repeat-rate)))
 
 (defun keyboard/dec-repeat-rate ()
   "Decrement `keyboard/repeat-rate'."
@@ -86,7 +86,7 @@
   (setq keyboard/repeat-rate (number/dec keyboard/repeat-rate))
   (keyboard/set-key-repeat :rate keyboard/repeat-rate)
   (keyboard/message
-   (string/format "Rate: %s" keyboard/repeat-rate)))
+   (string-format "Rate: %s" keyboard/repeat-rate)))
 
 (defun keyboard/inc-repeat-delay ()
   "Increment `keyboard/repeat-delay'."
@@ -94,7 +94,7 @@
   (setq keyboard/repeat-delay (number/inc keyboard/repeat-delay))
   (keyboard/set-key-repeat :delay keyboard/repeat-delay)
   (keyboard/message
-   (string/format "Delay: %s" keyboard/repeat-delay)))
+   (string-format "Delay: %s" keyboard/repeat-delay)))
 
 (defun keyboard/dec-repeat-delay ()
   "Decrement `keyboard/repeat-delay'."
@@ -102,13 +102,13 @@
   (setq keyboard/repeat-delay (number/dec keyboard/repeat-delay))
   (keyboard/set-key-repeat :delay keyboard/repeat-delay)
   (keyboard/message
-   (string/format "Delay: %s" keyboard/repeat-delay)))
+   (string-format "Delay: %s" keyboard/repeat-delay)))
 
 (defun keyboard/print-key-repeat ()
   "Print the currently set values for key repeat."
   (interactive)
   (keyboard/message
-   (string/format "Rate: %s. Delay: %s"
+   (string-format "Rate: %s. Delay: %s"
                   keyboard/repeat-rate
                   keyboard/repeat-delay)))