about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el index cbb6575..294c76f 100644 --- a/init.el +++ b/init.el
@@ -292,6 +292,13 @@
292 erc-track-exclude-types erc-hide-list 292 erc-track-exclude-types erc-hide-list
293 erc-track-position-in-mode-line 'before-modes) 293 erc-track-position-in-mode-line 'before-modes)
294 294
295 ;; Thanks bpalmer!
296 (advice-add 'show-paren-function :around
297 (defun show-paren@skip-in-erc (f &rest r)
298 "Skip `show-paren-mode' in `erc-mode'."
299 (unless (derived-mode-p 'erc-mode)
300 (apply f r))))
301
295 (:hook erc-autoaway-mode 302 (:hook erc-autoaway-mode
296 erc-track-mode 303 erc-track-mode
297 erc-truncate-mode)) 304 erc-truncate-mode))