diff options
| author | Richard M. Stallman | 1993-08-03 17:45:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-03 17:45:17 +0000 |
| commit | 520bca5791273310fcbacdc282ada4ab108d70a9 (patch) | |
| tree | 21f5bdd81fbfa55a354b784e25cebb638f307c40 | |
| parent | 2829f7e326515f8221d126d9717a40f56c5edb21 (diff) | |
| download | emacs-520bca5791273310fcbacdc282ada4ab108d70a9.tar.gz emacs-520bca5791273310fcbacdc282ada4ab108d70a9.zip | |
(window-setup-hook): Add hook function.
| -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 @@ | |||
| 125 | (progn | 125 | (progn |
| 126 | (setq blink-paren-function nil) | 126 | (setq blink-paren-function nil) |
| 127 | (add-hook 'post-command-hook 'show-paren-command-hook))) | 127 | (add-hook 'post-command-hook 'show-paren-command-hook))) |
| 128 | 128 | ;;; This is in case paren.el is preloaded. | |
| 129 | (add-hook 'window-setup-hook | ||
| 130 | (function (lambda () | ||
| 131 | (if window-system | ||
| 132 | (progn | ||
| 133 | (setq blink-paren-function nil) | ||
| 134 | (add-hook 'post-command-hook | ||
| 135 | 'show-paren-command-hook)))))) | ||
| 129 | (provide 'paren) | 136 | (provide 'paren) |
| 130 | 137 | ||
| 131 | ;;; paren.el ends here | 138 | ;;; paren.el ends here |