mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
(show-paren-command-hook): Do nothing when in kbd macro.
This commit is contained in:
parent
b6173caec2
commit
e4b93bab48
@ -43,8 +43,9 @@
|
||||
;; and show it until input arrives.
|
||||
(defun show-paren-command-hook ()
|
||||
;; Do nothing if no window system to display results with.
|
||||
;; Do nothing if executing keyboard macro.
|
||||
;; Do nothing if input is pending.
|
||||
(if (and window-system (sit-for 0))
|
||||
(if (and window-system (not executing-kbd-macro) (sit-for 0))
|
||||
(let (pos dir mismatch (oldpos (point))
|
||||
(face show-paren-face))
|
||||
(cond ((eq (char-syntax (following-char)) ?\()
|
||||
|
Loading…
Reference in New Issue
Block a user