Commit 3250010d authored by Miles Bader's avatar Miles Bader
Browse files

(ielm-indent-line): Detect a "prompt" line by seeing if comint-bol

  doesn't actually go to the beginning of the line.
parent 01d8967d
......@@ -179,9 +179,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."
(if (save-excursion
(looking-at comint-prompt-regexp)) nil
(when (save-excursion (comint-bol) (bolp))
;;; Working buffer manipulation
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