X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fterm%2Fbg-mouse.el;h=cc4291a3c14bf7e1b21e2cfb37946cc266d59986;hb=90c42eb4fa13a7f78c7b3a33b62d80e4aff44e60;hp=e75f35e86748c858b02e6f0c0cc8f905da021360;hpb=1d9bc86590766427e2431876a50d78206a99edd5;p=chise%2Fxemacs-chise.git diff --git a/lisp/term/bg-mouse.el b/lisp/term/bg-mouse.el index e75f35e..cc4291a 100644 --- a/lisp/term/bg-mouse.el +++ b/lisp/term/bg-mouse.el @@ -201,7 +201,7 @@ Sexp is inserted into the buffer at point (where the text cursor is)." (indent-according-to-mode)) ;; In Lisp assume double-quote is closing; in Text assume opening. ;; Why? Because it does the right thing most often. - ((save-excursion (forward-char -1) + ((save-excursion (backward-char 1) (and (not (looking-at "\\s\"")) (looking-at "[`'\"\\]\\|\\s("))) nil)