aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2007-09-23 00:38:44 +0000
committerDan Nicolaescu2007-09-23 00:38:44 +0000
commitf7ba2ff462a972df9a66160f1cc0e259065d24d4 (patch)
tree5c1bc8b8dc6d89b3bd112d951fa95c31aad65fbf
parentf3de57e90690ed39ed98260b518491981ae6f0df (diff)
downloademacs-f7ba2ff462a972df9a66160f1cc0e259065d24d4.tar.gz
emacs-f7ba2ff462a972df9a66160f1cc0e259065d24d4.zip
* term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar.
* term/tvi970.el (terminal-init-tvi970): Likewise. * term/sun-mouse.el (print-mouse-format): Likewise. * term/sun.el (scroll-down-in-place, scroll-up-in-place): Use forward-line instead of previous-line and next-line.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/term/sun-mouse.el2
-rw-r--r--lisp/term/sun.el4
-rw-r--r--lisp/term/tvi970.el2
-rw-r--r--lisp/term/w32-win.el2
5 files changed, 16 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 22f542dd5ed..8223a7b06a5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,14 @@
12007-09-23 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar.
4
5 * term/tvi970.el (terminal-init-tvi970): Likewise.
6
7 * term/sun-mouse.el (print-mouse-format): Likewise.
8
9 * term/sun.el (scroll-down-in-place, scroll-up-in-place): Use
10 forward-line instead of previous-line and next-line.
11
12007-09-22 Juri Linkov <juri@jurta.org> 122007-09-22 Juri Linkov <juri@jurta.org>
2 13
3 * textmodes/org.el (org-confirm-shell-link-function): Doc fix. 14 * textmodes/org.el (org-confirm-shell-link-function): Doc fix.
diff --git a/lisp/term/sun-mouse.el b/lisp/term/sun-mouse.el
index f4c34f74d9c..d3e85508b03 100644
--- a/lisp/term/sun-mouse.el
+++ b/lisp/term/sun-mouse.el
@@ -501,7 +501,7 @@ If there is no documentation string, then the string
501(defun print-mouse-format (binding) 501(defun print-mouse-format (binding)
502 (princ (car binding)) 502 (princ (car binding))
503 (princ ": ") 503 (princ ": ")
504 (mapcar (function 504 (mapc (function
505 (lambda (mouse-list) 505 (lambda (mouse-list)
506 (princ mouse-list) 506 (princ mouse-list)
507 (princ " "))) 507 (princ " ")))
diff --git a/lisp/term/sun.el b/lisp/term/sun.el
index ea7d9325f89..b3ee0ec458e 100644
--- a/lisp/term/sun.el
+++ b/lisp/term/sun.el
@@ -32,12 +32,12 @@
32 32
33(defun scroll-down-in-place (n) 33(defun scroll-down-in-place (n)
34 (interactive "p") 34 (interactive "p")
35 (previous-line n) 35 (forward-line (- n))
36 (scroll-down n)) 36 (scroll-down n))
37 37
38(defun scroll-up-in-place (n) 38(defun scroll-up-in-place (n)
39 (interactive "p") 39 (interactive "p")
40 (next-line n) 40 (forward-line n)
41 (scroll-up n)) 41 (scroll-up n))
42 42
43(defun kill-region-and-unmark (beg end) 43(defun kill-region-and-unmark (beg end)
diff --git a/lisp/term/tvi970.el b/lisp/term/tvi970.el
index d090df55411..1898153cf2a 100644
--- a/lisp/term/tvi970.el
+++ b/lisp/term/tvi970.el
@@ -37,7 +37,7 @@
37 ;; (define-key local-function-key-map "\eO" (make-keymap))) 37 ;; (define-key local-function-key-map "\eO" (make-keymap)))
38 38
39 ;; Miscellaneous keys 39 ;; Miscellaneous keys
40 (mapcar (function (lambda (key-binding) 40 (mapc (function (lambda (key-binding)
41 (define-key local-function-key-map 41 (define-key local-function-key-map
42 (car key-binding) (nth 1 key-binding)))) 42 (car key-binding) (nth 1 key-binding))))
43 '( 43 '(
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 5c3a1aae62e..51a25482be7 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -112,7 +112,7 @@ Switch to a buffer editing the last file dropped."
112 (y (cdr coords))) 112 (y (cdr coords)))
113 (if (and (> x 0) (> y 0)) 113 (if (and (> x 0) (> y 0))
114 (set-frame-selected-window nil window)) 114 (set-frame-selected-window nil window))
115 (mapcar (lambda (file-name) 115 (mapc (lambda (file-name)
116 (let ((f (subst-char-in-string ?\\ ?/ file-name)) 116 (let ((f (subst-char-in-string ?\\ ?/ file-name))
117 (coding (or file-name-coding-system 117 (coding (or file-name-coding-system
118 default-file-name-coding-system))) 118 default-file-name-coding-system)))