Skip to content

Commit

Permalink
Give a unique name to the pre-processed buffer
Browse files Browse the repository at this point in the history
Useful when needed to switch to one during debug
  • Loading branch information
kaushalmodi committed Jul 29, 2019
1 parent a5a8434 commit 847d7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ox-hugo.el
Expand Up @@ -3828,7 +3828,7 @@ INFO is a plist holding export options."
Internal links to other subtrees are converted to external
links."
(let* ((buffer (generate-new-buffer (buffer-name)))
(let* ((buffer (generate-new-buffer (concat "*Ox-hugo Pre-processed " (buffer-name) " *")))
;; Create an abstract syntax tree (AST) of the org document
;; in the current buffer.
(ast (org-element-parse-buffer))
Expand Down

0 comments on commit 847d7c3

Please sign in to comment.