diff options
Diffstat (limited to 'lisp/org/ob-octave.el')
-rw-r--r-- | lisp/org/ob-octave.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/ob-octave.el b/lisp/org/ob-octave.el index bbbda5bb1e5..9be8f5ad3eb 100644 --- a/lisp/org/ob-octave.el +++ b/lisp/org/ob-octave.el @@ -255,7 +255,7 @@ This removes initial blank and comment lines and then calls (insert-file-contents file-name) (re-search-forward "^[ \t]*[^# \t]" nil t) (when (< (setq beg (point-min)) - (setq end (point-at-bol))) + (setq end (line-beginning-position))) (delete-region beg end))) (org-babel-import-elisp-from-file temp-file '(16)))) |