aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-10-13 23:00:23 +0000
committerGlenn Morris2007-10-13 23:00:23 +0000
commit9001c33fa7e5b64b3ab5388c810c0ed8f100e129 (patch)
tree0cdb1e2d0304a0665c15e0134c468699ce0f2bbd
parentfeba774faf9d5e0d2e6eab9045de2f8c4480f71b (diff)
downloademacs-9001c33fa7e5b64b3ab5388c810c0ed8f100e129.tar.gz
emacs-9001c33fa7e5b64b3ab5388c810c0ed8f100e129.zip
(idlwave-complete-in-buffer): Use mapc rather than mapcar.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/idlwave.el12
2 files changed, 9 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5ca38764e4b..98e3df74030 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -71,7 +71,9 @@
71 (idlwave-fix-keywords, idlwave-display-calling-sequence) 71 (idlwave-fix-keywords, idlwave-display-calling-sequence)
72 (idlwave-complete-in-buffer): 72 (idlwave-complete-in-buffer):
73 * textmodes/org.el (org-export-as-html, org-export-as-ascii) 73 * textmodes/org.el (org-export-as-html, org-export-as-ascii)
74 (org-fast-tag-selection): Use mapc rather than mapcar. 74 (org-fast-tag-selection):
75 * textmodes/reftex-sel.el (reftex-select-item): Use mapc rather
76 than mapcar.
75 77
762007-10-13 Dan Nicolaescu <dann@ics.uci.edu> 782007-10-13 Dan Nicolaescu <dann@ics.uci.edu>
77 79
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index 646f6a80d8e..abe5cfe6489 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -6785,12 +6785,12 @@ accumulate information on matching completions."
6785 (message "Making completion list...") 6785 (message "Making completion list...")
6786 6786
6787 (unless idlwave-completion-help-links ; already set somewhere? 6787 (unless idlwave-completion-help-links ; already set somewhere?
6788 (mapcar (lambda (x) ; Pass link prop through to highlight-linked 6788 (mapc (lambda (x) ; Pass link prop through to highlight-linked
6789 (let ((link (get-text-property 0 'link (car x)))) 6789 (let ((link (get-text-property 0 'link (car x))))
6790 (if link 6790 (if link
6791 (push (cons (car x) link) 6791 (push (cons (car x) link)
6792 idlwave-completion-help-links)))) 6792 idlwave-completion-help-links))))
6793 list)) 6793 list))
6794 (let* ((list all-completions) 6794 (let* ((list all-completions)
6795 ;; "complete" means, this is already a valid completion 6795 ;; "complete" means, this is already a valid completion
6796 (complete (memq spart all-completions)) 6796 (complete (memq spart all-completions))