]> code.delx.au - gnu-emacs/commitdiff
* lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
authorJuri Linkov <juri@linkov.net>
Fri, 30 Oct 2015 00:04:42 +0000 (02:04 +0200)
committerJuri Linkov <juri@linkov.net>
Fri, 30 Oct 2015 00:04:42 +0000 (02:04 +0200)
to go to the beginning of text line instead of command line.
http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html

lisp/ielm.el

index 183f8a6ce3ec9ded9a3105c058b2aaa2633b6653..b035432165615232d74a3a10c822a5d1a92d8601 100644 (file)
@@ -217,7 +217,7 @@ This variable is buffer-local.")
 
 (defun ielm-indent-line nil
   "Indent the current line as Lisp code if it is not a prompt line."
-  (when (save-excursion (comint-bol) (bolp))
+  (when (save-excursion (comint-bol t) (bolp))
     (lisp-indent-line)))
 
 ;;; Working buffer manipulation