diff options
| author | Stefan Monnier | 2014-09-22 14:17:27 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-09-22 14:17:27 -0400 |
| commit | f8b25a5169905206935ebf49a9e99a7536106e46 (patch) | |
| tree | db0d6638d8f221fbc9f01a27c14715868a4eca61 | |
| parent | 2b968ea662e3dfdf3cd125a8d236220b938cb6ab (diff) | |
| download | emacs-f8b25a5169905206935ebf49a9e99a7536106e46.tar.gz emacs-f8b25a5169905206935ebf49a9e99a7536106e46.zip | |
* lisp/loadup.el: Increase max-lisp-eval-depth while macroexpanding macroexp.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/loadup.el | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f1401b1b38a..32806b24ea4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * loadup.el: Increase max-lisp-eval-depth while macroexpanding macroexp.el. | ||
| 4 | |||
| 3 | * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns. | 5 | * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns. |
| 4 | (pcase--funcall, pcase--eval): New functions. | 6 | (pcase--funcall, pcase--eval): New functions. |
| 5 | (pcase--u1): Use them for guard, pred, let, and app. | 7 | (pcase--u1): Use them for guard, pred, let, and app. |
diff --git a/lisp/loadup.el b/lisp/loadup.el index b911e9f1768..417f0b411c5 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el | |||
| @@ -119,7 +119,8 @@ | |||
| 119 | (let ((macroexp--pending-eager-loads '(skip))) | 119 | (let ((macroexp--pending-eager-loads '(skip))) |
| 120 | (load "emacs-lisp/pcase")) | 120 | (load "emacs-lisp/pcase")) |
| 121 | ;; Re-load macroexp so as to eagerly macro-expand its uses of pcase. | 121 | ;; Re-load macroexp so as to eagerly macro-expand its uses of pcase. |
| 122 | (load "emacs-lisp/macroexp")) | 122 | (let ((max-lisp-eval-depth (* 2 max-lisp-eval-depth))) |
| 123 | (load "emacs-lisp/macroexp"))) | ||
| 123 | 124 | ||
| 124 | (load "cus-face") | 125 | (load "cus-face") |
| 125 | (load "faces") ; after here, `defface' may be used. | 126 | (load "faces") ; after here, `defface' may be used. |