summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-03-23 13:26:00 +0000
committerAndreas Schwab <schwab@suse.de>1998-03-23 13:26:00 +0000
commit5b2cf5912c501596cb18de036b1ed993e2246041 (patch)
treeec2d6ddc3e9b670b4ec34b2451a82b0c283c01b8 /lisp
parent6deaefe5af2416e51e8948990cca7ba8b2e994d4 (diff)
downloademacs-5b2cf5912c501596cb18de036b1ed993e2246041.tar.gz
(xterm-mouse-translate, xterm-mouse-event): Replace
obsolete `concat with integer' by format.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/xt-mouse.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el
index a15f22ee623..dbd741e5e6c 100644
--- a/lisp/xt-mouse.el
+++ b/lisp/xt-mouse.el
@@ -86,7 +86,7 @@
;; Generate a drag event.
(if (symbolp down-where)
0
- (list (intern (concat "drag-mouse-" (+ 1 xterm-mouse-last)))
+ (list (intern (format "drag-mouse-%d" (+ 1 xterm-mouse-last)))
down-data click-data))
)))
(if (and (symbolp down-where)
@@ -132,9 +132,9 @@
(point))
where))
(mouse (intern (if (eq type 3)
- (concat "mouse-" (+ 1 xterm-mouse-last))
+ (format "mouse-%d" (+ 1 xterm-mouse-last))
(setq xterm-mouse-last type)
- (concat "down-mouse-" (+ 1 type))))))
+ (format "down-mouse-%d" (+ 1 type))))))
(setq xterm-mouse-x x
xterm-mouse-y y)
(list mouse