Nice bracket matching function.
This commit is contained in:
parent
efd6adf667
commit
1ee9533167
7
emacs
7
emacs
|
@ -231,3 +231,10 @@
|
|||
nil)))
|
||||
nil))
|
||||
(add-to-list 'find-file-hook 'konix/find-file-hook)
|
||||
|
||||
(defadvice show-paren-function (after my-echo-paren-matching-line activate)
|
||||
"If a matching paren is off-screen, echo the matching line."
|
||||
(when (char-equal (char-syntax (char-before (point))) ?\))
|
||||
(let ((matching-text (blink-matching-open)))
|
||||
(when matching-text
|
||||
(message matching-text)))))
|
||||
|
|
Loading…
Reference in New Issue