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/pulse-audio.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/pulse-audio.el')
-rw-r--r-- | emacs/.emacs.d/wpc/pulse-audio.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/.emacs.d/wpc/pulse-audio.el b/emacs/.emacs.d/wpc/pulse-audio.el index 34f4ab21767c..d22cace46de9 100644 --- a/emacs/.emacs.d/wpc/pulse-audio.el +++ b/emacs/.emacs.d/wpc/pulse-audio.el @@ -30,7 +30,7 @@ (defun pulse-audio--message (x) "Output X to *Messages*." - (message (string/format "[pulse-audio.el] %s" x))) + (message (string-format "[pulse-audio.el] %s" x))) (defun pulse-audio-toggle-mute () "Mute the default sink." @@ -53,7 +53,7 @@ (interactive) (prelude-start-process :name "pulse-audio-decrease-volume" - :command (string/format "pactl set-sink-volume @DEFAULT_SINK@ -%s%%" + :command (string-format "pactl set-sink-volume @DEFAULT_SINK@ -%s%%" pulse-audio--step-size)) (pulse-audio--message "Volume decreased.")) @@ -62,7 +62,7 @@ (interactive) (prelude-start-process :name "pulse-audio-increase-volume" - :command (string/format "pactl set-sink-volume @DEFAULT_SINK@ +%s%%" + :command (string-format "pactl set-sink-volume @DEFAULT_SINK@ +%s%%" pulse-audio--step-size)) (pulse-audio--message "Volume increased.")) |