Skip to content

Commit

Permalink
Merge pull request #80 from markokocic/org-parse-refactor
Browse files Browse the repository at this point in the history
Fix #41 weblorg-export warning in interactive mode

Since the change is non-invasive and all tests pass, merging this PR.
  • Loading branch information
markokocic authored Jul 11, 2024
2 parents c9843c1 + 2f21073 commit 0db218b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weblorg.el
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,7 @@ an INPUT-PATH to resolve relative links and INCLUDES from."
(with-temp-buffer
(insert input-data)
(if input-path (set-visited-file-name input-path t t))
(set-buffer-modified-p nil)
(setq html (org-export-as 'html nil nil t)))
;; Uninstall advices
(ad-unadvise 'org-html-keyword)
Expand Down

0 comments on commit 0db218b

Please sign in to comment.