From: Pavel Janík Date: Mon, 26 Nov 2001 16:17:44 +0000 (+0000) Subject: (bg-insert-moused-sexp): Use insert instead of insert-string. X-Git-Tag: ttn-vms-21-2-B4~18132 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=039f4cdaaf287060d2858c7e944b5056b6cbb824;p=emacs.git (bg-insert-moused-sexp): Use insert instead of insert-string. --- diff --git a/lisp/term/bg-mouse.el b/lisp/term/bg-mouse.el index 0035f59acdd..78fecb4d9f2 100644 --- a/lisp/term/bg-mouse.el +++ b/lisp/term/bg-mouse.el @@ -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 " "))))) ;;; Utility functions: