Lint string, macros.el

More of the same type of linting... basically preferring `namespace-` instead of
`namespace/`.
This commit is contained in:
William Carroll 2020-08-31 23:28:47 +01:00
parent 158f810981
commit a638e15c0d
36 changed files with 176 additions and 204 deletions

View file

@ -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."))