Fix show-parens background and increase recursion limits

This commit is contained in:
Wojciech Kozlowski 2017-08-20 22:15:58 +01:00
parent 2a8ff7c675
commit b7152af549
2 changed files with 8 additions and 2 deletions

View File

@ -181,8 +181,8 @@
`(org-clock-overlay ((t (:foreground, *mode-line-bg* :background, *string*)))) `(org-clock-overlay ((t (:foreground, *mode-line-bg* :background, *string*))))
;; show-paren ;; show-paren
`(show-paren-mismatch ((t (:background, *bg-1* :foreground, *red* :weight bold :underline t)))) `(show-paren-mismatch ((t (:foreground, *red* :weight bold :underline t))))
`(show-paren-match ((t (:background, *bg-1* :foreground, *green* :weight bold :underline t)))) `(show-paren-match ((t (:foreground, *green* :weight bold :underline t))))
;; rainbow delimiters mode ;; rainbow delimiters mode
`(rainbow-delimiters-depth-1-face ((t (:foreground ,*rdd-1*)))) `(rainbow-delimiters-depth-1-face ((t (:foreground ,*rdd-1*))))

View File

@ -109,4 +109,10 @@
(add-hook 'minibuffer-setup-hook #'my-minibuffer-setup-hook) (add-hook 'minibuffer-setup-hook #'my-minibuffer-setup-hook)
(add-hook 'minibuffer-exit-hook #'my-minibuffer-exit-hook) (add-hook 'minibuffer-exit-hook #'my-minibuffer-exit-hook)
;; --------------------------------------------------------------------------
;; Increase recursion limits.
;; --------------------------------------------------------------------------
(setq-default max-specpdl-size 20000) ;; ~15x original value
(setq-default max-lisp-eval-depth 24000) ;; 30x orignal value
) ;; ((gc-cons-threshold most-positive-fixnum)) ) ;; ((gc-cons-threshold most-positive-fixnum))