emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master dba0659: * lisp/ielm.el (ielm-indent-line): Use non


From: Juri Linkov
Subject: [Emacs-diffs] master dba0659: * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
Date: Fri, 30 Oct 2015 00:09:10 +0000

branch: master
commit dba0659c3b37a413245b424d75e8989b0bb46a07
Author: Juri Linkov <address@hidden>
Commit: Juri Linkov <address@hidden>

    * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
    
    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/ielm.el b/lisp/ielm.el
index 183f8a6..b035432 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]