Commit 039f4cda authored by Pavel Janík's avatar Pavel Janík

(bg-insert-moused-sexp): Use insert instead of insert-string.

parent f4f34b33
......@@ -209,12 +209,12 @@ Sexp is inserted into the buffer at point (where the text cursor is)."
(looking-at "[`'\"\\]\\|\\s(")))
(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:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment