diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2007-09-25 11:14:28 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2007-09-25 11:14:28 +0000 |
commit | e18c18e8709436f35e3c4f9e1c7387e856d2848a (patch) | |
tree | d8b286989ac850459ed6f618ad2836b26e3d451a /lisp/startup.el | |
parent | 9ca2204bbdb8b7883d89563e51ca6385a6d78a7e (diff) | |
download | emacs-e18c18e8709436f35e3c4f9e1c7387e856d2848a.tar.gz |
(command-line): Use `mapc' rather than `mapcar'.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r-- | lisp/startup.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 7bf5400345e..395d1673a1a 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1032,11 +1032,11 @@ opening the first frame (e.g. open a connection to an X server).") ;; buffers (probably *scratch*, *Messages*, *Minibuff-0*). ;; Arguably this should only be done if they're free of ;; multibyte characters. - (mapcar (lambda (buffer) - (with-current-buffer buffer - (if enable-multibyte-characters - (set-buffer-multibyte nil)))) - (buffer-list)) + (mapc (lambda (buffer) + (with-current-buffer buffer + (if enable-multibyte-characters + (set-buffer-multibyte nil)))) + (buffer-list)) ;; Also re-set the language environment in case it was ;; originally done before unibyte was set and is sensitive to ;; unibyte (display table, terminal coding system &c). |