diff options
| author | Stefan Monnier | 2021-02-27 20:30:21 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2021-02-27 20:30:21 -0500 |
| commit | aad8ffafa89fe46ff5d63bd0127274f74019d50f (patch) | |
| tree | 5234a67dcb37f7f04b8e51c779bd19e63597badb | |
| parent | ff09851a1fff745584de11cb67091a432eeff312 (diff) | |
| download | emacs-aad8ffafa89fe46ff5d63bd0127274f74019d50f.tar.gz emacs-aad8ffafa89fe46ff5d63bd0127274f74019d50f.zip | |
* lisp/international/mule-cmds.el: Try and fix bug#46818
(update-leim-list-file): Reduce stack/pdl use.
| -rw-r--r-- | lisp/international/mule-cmds.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index e4bdf50f526..e1dbf82ed49 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -1312,8 +1312,13 @@ Each function is called with one arg, LEIM directory name.") | |||
| 1312 | 1312 | ||
| 1313 | (defun update-leim-list-file (&rest dirs) | 1313 | (defun update-leim-list-file (&rest dirs) |
| 1314 | "Update LEIM list file in directories DIRS." | 1314 | "Update LEIM list file in directories DIRS." |
| 1315 | (dolist (function update-leim-list-functions) | 1315 | ;; bug#46818: This `let'-binding is not necessary, but |
| 1316 | (apply function dirs))) | 1316 | ;; it reduces the recursion depth during bootstrap (at which |
| 1317 | ;; point some of the core ELisp files haven't been byte-compiled | ||
| 1318 | ;; yet, which causes deeper-than-normal recursion). | ||
| 1319 | (let ((vc-handled-backends nil)) | ||
| 1320 | (dolist (function update-leim-list-functions) | ||
| 1321 | (apply function dirs)))) | ||
| 1317 | 1322 | ||
| 1318 | (defvar-local current-input-method nil | 1323 | (defvar-local current-input-method nil |
| 1319 | "The current input method for multilingual text. | 1324 | "The current input method for multilingual text. |