mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
(pr-eval-local-alist, pr-eval-setting-alist): Use mapc' rather than
mapcar'.
This commit is contained in:
parent
6d2d1b7d22
commit
021c7d9720
@ -5311,7 +5311,7 @@ If menu binding was not done, calls `pr-menu-bind'."
|
||||
|
||||
(defun pr-eval-local-alist (alist)
|
||||
(let (local-list)
|
||||
(mapcar #'(lambda (option)
|
||||
(mapc #'(lambda (option)
|
||||
(let ((var-sym (car option))
|
||||
(value (cdr option)))
|
||||
(setq local-list
|
||||
@ -5341,7 +5341,7 @@ If menu binding was not done, calls `pr-menu-bind'."
|
||||
(setq local-list
|
||||
(pr-eval-setting-alist inherits global
|
||||
(cons inherits old)))))
|
||||
(mapcar
|
||||
(mapc
|
||||
(cond ((not local) ; global settings
|
||||
#'(lambda (option)
|
||||
(let ((var-sym (car option)))
|
||||
|
Loading…
Reference in New Issue
Block a user