diff options
| author | Juanma Barranquero | 2007-09-26 00:30:00 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-09-26 00:30:00 +0000 |
| commit | 51b5ad576f72385d2a62baaedccaae04c78535ab (patch) | |
| tree | 8a6a82fb4158d7f096cf864cb6e1006e95e5a905 | |
| parent | f77183c08323f6682c32fa3b64c5313889df7d2a (diff) | |
| download | emacs-51b5ad576f72385d2a62baaedccaae04c78535ab.tar.gz emacs-51b5ad576f72385d2a62baaedccaae04c78535ab.zip | |
(vhdl-set-style, vhdl-regress-line): Use `mapc' rather than `mapcar'.
| -rw-r--r-- | lisp/progmodes/vhdl-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 0d909a4a3ff..60d30eb8a6d 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -2811,7 +2811,7 @@ STRING are replaced by `-' and substrings are converted to lower case." | |||
| 2811 | 2811 | ||
| 2812 | ;; set up electric character functions to work with | 2812 | ;; set up electric character functions to work with |
| 2813 | ;; `delete-selection-mode' (Emacs) and `pending-delete-mode' (XEmacs) | 2813 | ;; `delete-selection-mode' (Emacs) and `pending-delete-mode' (XEmacs) |
| 2814 | (mapcar | 2814 | (mapc |
| 2815 | (function | 2815 | (function |
| 2816 | (lambda (sym) | 2816 | (lambda (sym) |
| 2817 | (put sym 'delete-selection t) ; for `delete-selection-mode' (Emacs) | 2817 | (put sym 'delete-selection t) ; for `delete-selection-mode' (Emacs) |
| @@ -5296,7 +5296,7 @@ argument. The styles are chosen from the `vhdl-style-alist' variable." | |||
| 5296 | (or vars | 5296 | (or vars |
| 5297 | (error "ERROR: Invalid VHDL indentation style `%s'" style)) | 5297 | (error "ERROR: Invalid VHDL indentation style `%s'" style)) |
| 5298 | ;; set all the variables | 5298 | ;; set all the variables |
| 5299 | (mapcar | 5299 | (mapc |
| 5300 | (function | 5300 | (function |
| 5301 | (lambda (varentry) | 5301 | (lambda (varentry) |
| 5302 | (let ((var (car varentry)) | 5302 | (let ((var (car varentry)) |
| @@ -7148,7 +7148,7 @@ ENDPOS is encountered." | |||
| 7148 | (actual (vhdl-get-syntactic-context)) | 7148 | (actual (vhdl-get-syntactic-context)) |
| 7149 | (expurgated)) | 7149 | (expurgated)) |
| 7150 | ;; remove the library unit symbols | 7150 | ;; remove the library unit symbols |
| 7151 | (mapcar | 7151 | (mapc |
| 7152 | (function | 7152 | (function |
| 7153 | (lambda (elt) | 7153 | (lambda (elt) |
| 7154 | (if (memq (car elt) '(entity configuration package | 7154 | (if (memq (car elt) '(entity configuration package |