diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el index 8d11e45ff..a2b0f482c 100644 --- a/lisp/ob-exp.el +++ b/lisp/ob-exp.el @@ -291,7 +291,7 @@ this template." (indent-line-to ind)) ;; Indent everything. (indent-code-rigidly match-start (point) ind))))) - (setq pos (point)) + (setq pos (line-beginning-position)) ;; Cleanup markers. (set-marker match-start nil) (set-marker begin nil)