# HG changeset patch # User Richard M. Stallman # Date 937102640 0 # Node ID 5567112176817dcafa7f0c28bc55867155a39852 # Parent 952461b8fdafa62a29f5939a46e8cc8f48bad8ea (eval-last-sexp): If after ?\LETTER, use all of that as the sexp. diff -r 952461b8fdaf -r 556711217681 lisp/emacs-lisp/lisp-mode.el --- a/lisp/emacs-lisp/lisp-mode.el Sat Sep 11 21:29:11 1999 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Sun Sep 12 02:17:20 1999 +0000 @@ -340,6 +340,12 @@ (or (eq (following-char) ?\') (eq (preceding-char) ?\'))) (forward-sexp -1) + ;; If we were after `?\e' (or similar case), + ;; use the whole thing, not just the `e'. + (when (eq (preceding-char) ?\\) + (forward-char -1) + (when (eq (preceding-char) ??) + (forward-char -1))) (save-restriction ;; vladimir@cs.ualberta.ca 30-Jul-1997: skip ` in ;; `variable' so that the value is returned, not the