changeset 21270:3f500b8d6964

(xterm-mouse-translate, xterm-mouse-event): Replace obsolete `concat with integer' by format.
author Andreas Schwab <schwab@suse.de>
date Mon, 23 Mar 1998 13:26:00 +0000
parents b25d5f1dd2de
children 6262a19fadeb
files lisp/xt-mouse.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/xt-mouse.el	Mon Mar 23 13:18:54 1998 +0000
+++ b/lisp/xt-mouse.el	Mon Mar 23 13:26:00 1998 +0000
@@ -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