diff options
author | Case Duckworth | 2022-01-06 15:49:01 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-06 15:49:01 -0600 |
commit | 4d2a9603ad039242341dc6ee3316b9d83b80435c (patch) | |
tree | 2b8b6983e4b095a72d4a21ce3b4cab324f0b91c3 | |
parent | Fix naming bug (diff) | |
download | emacs-4d2a9603ad039242341dc6ee3316b9d83b80435c.tar.gz emacs-4d2a9603ad039242341dc6ee3316b9d83b80435c.zip |
Disable electric-pair-mode in lui-mode, and define 'irc alias
-rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/init.el b/init.el index 432ded7..7f0733c 100644 --- a/init.el +++ b/init.el | |||
@@ -592,6 +592,7 @@ | |||
592 | (:require _circe | 592 | (:require _circe |
593 | +circe) | 593 | +circe) |
594 | (:also-load circe-chanop) | 594 | (:also-load circe-chanop) |
595 | (+ensure-after-init (lambda () (defalias 'irc '+irc "Start IRC."))) | ||
595 | 596 | ||
596 | ;; Formatting options | 597 | ;; Formatting options |
597 | (:option | 598 | (:option |
@@ -712,7 +713,11 @@ | |||
712 | (add-to-list '+pulse-location-commands #'lui-track-jump-to-indicator) | 713 | (add-to-list '+pulse-location-commands #'lui-track-jump-to-indicator) |
713 | (:hook #'visual-line-mode | 714 | (:hook #'visual-line-mode |
714 | #'enable-lui-track | 715 | #'enable-lui-track |
715 | #'visual-fill-column-mode) | 716 | #'visual-fill-column-mode |
717 | (defun +disable-electric-pair-mode () | ||
718 | "Disable `electric-pair-mode' in the current buffer." | ||
719 | (interactive) | ||
720 | (electric-pair-local-mode -1))) | ||
716 | (:local-set fringes-outside-margins t | 721 | (:local-set fringes-outside-margins t |
717 | right-margin-width (length lui-time-stamp-format) | 722 | right-margin-width (length lui-time-stamp-format) |
718 | scroll-margin 0 | 723 | scroll-margin 0 |