diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-08-03 17:45:17 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-08-03 17:45:17 +0000 |
commit | 520bca5791273310fcbacdc282ada4ab108d70a9 (patch) | |
tree | 21f5bdd81fbfa55a354b784e25cebb638f307c40 /lisp/paren.el | |
parent | 2829f7e326515f8221d126d9717a40f56c5edb21 (diff) | |
download | emacs-520bca5791273310fcbacdc282ada4ab108d70a9.tar.gz |
(window-setup-hook): Add hook function.
Diffstat (limited to 'lisp/paren.el')
-rw-r--r-- | lisp/paren.el | 9 |
1 files changed, 8 insertions, 1 deletions
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 |