From 520bca5791273310fcbacdc282ada4ab108d70a9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 3 Aug 1993 17:45:17 +0000 Subject: [PATCH] (window-setup-hook): Add hook function. --- lisp/paren.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/paren.el b/lisp/paren.el index e42751c706e..1c517bdf500 100644 --- a/lisp/paren.el +++ b/lisp/paren.el @@ -125,7 +125,14 @@ (progn (setq blink-paren-function nil) (add-hook 'post-command-hook 'show-paren-command-hook))) - +;;; This is in case paren.el is preloaded. +(add-hook 'window-setup-hook + (function (lambda () + (if window-system + (progn + (setq blink-paren-function nil) + (add-hook 'post-command-hook + 'show-paren-command-hook)))))) (provide 'paren) ;;; paren.el ends here -- 2.11.4.GIT