diff options
| author | Glenn Morris | 2007-10-13 03:03:17 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-10-13 03:03:17 +0000 |
| commit | 8566778a88d1a20fc43279bd38156fc25aff7ff5 (patch) | |
| tree | b16546b77e47acd748fe1271b6b66cf993fcd464 /lisp | |
| parent | 8c4b8006b04424e5722ad93ce1313c253759aa65 (diff) | |
| download | emacs-8566778a88d1a20fc43279bd38156fc25aff7ff5.tar.gz emacs-8566778a88d1a20fc43279bd38156fc25aff7ff5.zip | |
(eudc-edit-hotlist): Use mapc rather than mapcar.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/net/eudc-hotlist.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/net/eudc-hotlist.el b/lisp/net/eudc-hotlist.el index 0509ac9ab79..2914ebdc1b0 100644 --- a/lisp/net/eudc-hotlist.el +++ b/lisp/net/eudc-hotlist.el | |||
| @@ -69,10 +69,10 @@ These are the special commands of this mode: | |||
| 69 | (switch-to-buffer (get-buffer-create "*EUDC Servers*")) | 69 | (switch-to-buffer (get-buffer-create "*EUDC Servers*")) |
| 70 | (setq buffer-read-only nil) | 70 | (setq buffer-read-only nil) |
| 71 | (erase-buffer) | 71 | (erase-buffer) |
| 72 | (mapcar (function | 72 | (mapc (function |
| 73 | (lambda (entry) | 73 | (lambda (entry) |
| 74 | (setq proto-col (max (length (car entry)) proto-col)))) | 74 | (setq proto-col (max (length (car entry)) proto-col)))) |
| 75 | eudc-server-hotlist) | 75 | eudc-server-hotlist) |
| 76 | (setq proto-col (+ 3 proto-col)) | 76 | (setq proto-col (+ 3 proto-col)) |
| 77 | (setq gap (make-string (- proto-col 6) ?\ )) | 77 | (setq gap (make-string (- proto-col 6) ?\ )) |
| 78 | (insert " EUDC Servers\n" | 78 | (insert " EUDC Servers\n" |
| @@ -82,7 +82,7 @@ These are the special commands of this mode: | |||
| 82 | "------" gap "--------\n" | 82 | "------" gap "--------\n" |
| 83 | "\n") | 83 | "\n") |
| 84 | (setq eudc-hotlist-list-beginning (point)) | 84 | (setq eudc-hotlist-list-beginning (point)) |
| 85 | (mapcar '(lambda (entry) | 85 | (mapc '(lambda (entry) |
| 86 | (insert (car entry)) | 86 | (insert (car entry)) |
| 87 | (indent-to proto-col) | 87 | (indent-to proto-col) |
| 88 | (insert (symbol-name (cdr entry)) "\n")) | 88 | (insert (symbol-name (cdr entry)) "\n")) |