about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/fonts.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/fonts.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/fonts.el')
-rw-r--r--emacs/.emacs.d/wpc/fonts.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/wpc/fonts.el b/emacs/.emacs.d/wpc/fonts.el
index 48bbf5e081a6..0fe7c578f248 100644
--- a/emacs/.emacs.d/wpc/fonts.el
+++ b/emacs/.emacs.d/wpc/fonts.el
@@ -87,7 +87,7 @@
 (defun fonts/set (font &optional size)
   "Change the font to `FONT' with option integer, SIZE, in pixels."
   (if (maybe-some? size)
-      (set-frame-font (string/format "%s %s" font size) nil t)
+      (set-frame-font (string-format "%s %s" font size) nil t)
     (set-frame-font font nil t)))
 
 (defun fonts/whitelist-set (font)
@@ -107,7 +107,7 @@ The size of the font is determined by `fonts/size'."
   "Message the currently enabled font."
   (interactive)
   (message
-   (string/format "[fonts] Current font: \"%s\""
+   (string-format "[fonts] Current font: \"%s\""
                   (fonts/current))))
 
 (defun fonts/current ()