diff options
| author | Juanma Barranquero | 2007-09-25 11:11:16 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-09-25 11:11:16 +0000 |
| commit | 021c7d9720b14dd5394c43cbc29c10138f63b036 (patch) | |
| tree | 80e323b567acbe97920d07c4e83b6ddcab3862cf | |
| parent | 6d2d1b7d227bb4eca4b00a8431b704bc554e76b4 (diff) | |
| download | emacs-021c7d9720b14dd5394c43cbc29c10138f63b036.tar.gz emacs-021c7d9720b14dd5394c43cbc29c10138f63b036.zip | |
(pr-eval-local-alist, pr-eval-setting-alist): Use `mapc' rather than `mapcar'.
| -rw-r--r-- | lisp/printing.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/printing.el b/lisp/printing.el index a4b4c4217ed..0f589564083 100644 --- a/lisp/printing.el +++ b/lisp/printing.el | |||
| @@ -5311,15 +5311,15 @@ If menu binding was not done, calls `pr-menu-bind'." | |||
| 5311 | 5311 | ||
| 5312 | (defun pr-eval-local-alist (alist) | 5312 | (defun pr-eval-local-alist (alist) |
| 5313 | (let (local-list) | 5313 | (let (local-list) |
| 5314 | (mapcar #'(lambda (option) | 5314 | (mapc #'(lambda (option) |
| 5315 | (let ((var-sym (car option)) | 5315 | (let ((var-sym (car option)) |
| 5316 | (value (cdr option))) | 5316 | (value (cdr option))) |
| 5317 | (setq local-list | 5317 | (setq local-list |
| 5318 | (if (eq var-sym 'inherits-from:) | 5318 | (if (eq var-sym 'inherits-from:) |
| 5319 | (nconc (pr-eval-setting-alist value) local-list) | 5319 | (nconc (pr-eval-setting-alist value) local-list) |
| 5320 | (set (make-local-variable var-sym) (eval value)) | 5320 | (set (make-local-variable var-sym) (eval value)) |
| 5321 | (cons var-sym local-list))))) | 5321 | (cons var-sym local-list))))) |
| 5322 | alist) | 5322 | alist) |
| 5323 | local-list)) | 5323 | local-list)) |
| 5324 | 5324 | ||
| 5325 | 5325 | ||
| @@ -5341,7 +5341,7 @@ If menu binding was not done, calls `pr-menu-bind'." | |||
| 5341 | (setq local-list | 5341 | (setq local-list |
| 5342 | (pr-eval-setting-alist inherits global | 5342 | (pr-eval-setting-alist inherits global |
| 5343 | (cons inherits old))))) | 5343 | (cons inherits old))))) |
| 5344 | (mapcar | 5344 | (mapc |
| 5345 | (cond ((not local) ; global settings | 5345 | (cond ((not local) ; global settings |
| 5346 | #'(lambda (option) | 5346 | #'(lambda (option) |
| 5347 | (let ((var-sym (car option))) | 5347 | (let ((var-sym (car option))) |