]> git.eshelyaron.com Git - emacs.git/commitdiff
(enable-flow-control): Pass proper format string to message.
authorKarl Heuer <kwzh@gnu.org>
Thu, 25 Jan 1996 00:54:10 +0000 (00:54 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 25 Jan 1996 00:54:10 +0000 (00:54 +0000)
lisp/flow-ctrl.el

index de2109b4b86ea613222839643486d953d637f0dc..f98ecaa0fb9ddca90e141a2a2f09a2bd0d0b6695 100644 (file)
@@ -95,14 +95,10 @@ With arg, enable flow control mode if arg is positive, otherwise disable."
     ;; Swap C-q and C-^
     (aset keyboard-translate-table flow-control-c-q-replacement ?\^q)
     (aset keyboard-translate-table ?\^q flow-control-c-q-replacement)
-    (message (concat 
-             "XON/XOFF adjustment for " 
-             (getenv "TERM") 
-             ": use "
-             (single-key-description flow-control-c-s-replacement)
-             " for C-s, and use "
-             (single-key-description flow-control-c-q-replacement)
-             " for C-q"))
+    (message "XON/XOFF adjustment for %s: use %s for C-s, and use %s for C-q"
+            (getenv "TERM") 
+            (single-key-description flow-control-c-s-replacement)
+            (single-key-description flow-control-c-q-replacement))
     (sleep-for 2)))                    ; Give user a chance to see message.
 
 ;;;###autoload