From 34bb5369da5ed09c712131e9b076db949f208e7e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 8 Jun 2013 13:54:04 +0100 Subject: Emacs: globally highlight matching parentheses --- emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 641cdc29..1b335436 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -790,6 +790,8 @@ Also returns nil if pid is nil." ;; replace highlighted text rather than just inserting at point (delete-selection-mode t) +(show-paren-mode t) + (bind-key "S-SPC" #'set-mark-command) (use-package subword @@ -892,7 +894,6 @@ Also returns nil if pid is nil." (defun ap/lisp-setup () (run-hooks 'lisp-common-mode-hook) - (show-paren-mode t) (setq indent-tabs-mode nil) (local-set-key (kbd "RET") #'paredit-newline)) -- cgit 1.4.1