]> git.eshelyaron.com Git - emacs.git/commitdiff
(bg-insert-moused-sexp): Use insert instead of insert-string.
authorPavel Janík <Pavel@Janik.cz>
Mon, 26 Nov 2001 16:17:44 +0000 (16:17 +0000)
committerPavel Janík <Pavel@Janik.cz>
Mon, 26 Nov 2001 16:17:44 +0000 (16:17 +0000)
lisp/term/bg-mouse.el

index 0035f59acdd3a4b534189c81b6072150c1b9bff0..78fecb4d9f2be714f2cabd7e70bab7af717175fe 100644 (file)
@@ -209,12 +209,12 @@ Sexp is inserted into the buffer at point (where the text cursor is)."
                           (looking-at "[`'\"\\]\\|\\s(")))
       nil)
      (t
-      (insert-string " ")))
-    (insert-string moused-text)
+      (insert " ")))
+    (insert moused-text)
     (or (eolp)
        (looking-at "\\s.\\|\\s)")
        (and (looking-at "'") (looking-at "\\sw")) ;hack for text mode
-       (save-excursion (insert-string " ")))))
+       (save-excursion (insert " ")))))
 \f
 ;;; Utility functions: