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/fonts.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs/.emacs.d/wpc/fonts.el') diff --git a/emacs/.emacs.d/wpc/fonts.el b/emacs/.emacs.d/wpc/fonts.el index 48bbf5e081..0fe7c578f2 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 () -- cgit 1.4.1