diff options
-rw-r--r-- | lisp/allout.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/allout.el b/lisp/allout.el index db41d4af169..9d3bfc6830e 100644 --- a/lisp/allout.el +++ b/lisp/allout.el @@ -3120,8 +3120,7 @@ by pops to non-distinctive yanks. Bug..." (let (file-name) (save-excursion (let* ((text-start outline-recent-prefix-end) - (heading-end (progn (outline-pre-next-preface) - (point)))) + (heading-end (progn (end-of-line) (point)))) (goto-char text-start) (setq file-name (if (re-search-forward "\\s-\\(\\S-*\\)" heading-end t) |