about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/irc.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/irc.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/irc.el')
-rw-r--r--emacs/.emacs.d/wpc/irc.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/emacs/.emacs.d/wpc/irc.el b/emacs/.emacs.d/wpc/irc.el
index 1787c8566f17..64af2538f8aa 100644
--- a/emacs/.emacs.d/wpc/irc.el
+++ b/emacs/.emacs.d/wpc/irc.el
@@ -87,7 +87,7 @@
 
 (defun irc/message (x)
   "Print message X in a structured way."
-  (message (string/format "[irc.el] %s" x)))
+  (message (string-format "[irc.el] %s" x)))
 
 ;; TODO: Integrate Google setup with Freenode setup.
 
@@ -136,7 +136,7 @@
       (erc-join-channel
        (cycle/next cycle))
       (irc/message
-       (string/format "Current IRC channel: %s" (cycle/current cycle))))))
+       (string-format "Current IRC channel: %s" (cycle/current cycle))))))
 
 (defun irc/prev-channel ()
   "Join the previous channel for the active server."
@@ -146,10 +146,10 @@
       (erc-join-channel
        (cycle/prev cycle))
       (irc/message
-       (string/format "Current IRC channel: %s" (cycle/current cycle))))))
+       (string-format "Current IRC channel: %s" (cycle/current cycle))))))
 
-(add-hook 'erc-mode-hook (disable auto-fill-mode))
-(add-hook 'erc-mode-hook (disable company-mode))
+(add-hook 'erc-mode-hook (macros-disable auto-fill-mode))
+(add-hook 'erc-mode-hook (macros-disable company-mode))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Keybindings