Skip to content

Commit

Permalink
Fix #41 weblorg-export warning in interactive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
markokocic committed Jul 8, 2024
1 parent c9843c1 commit ca1c517
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions weblorg.el
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,9 @@ 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)
(ad-unadvise 'org-html-headline)
Expand Down

0 comments on commit ca1c517

Please sign in to comment.