Skip to content
Browse files

removing flyspell overlays during presentation

  • Loading branch information...
1 parent 8b246d3 commit 016f027a3e7551145c3fb7a520907f12468e5594 @eschulte committed Oct 28, 2010
Showing with 5 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +3 −2 epresent.el
View
2 .gitignore
@@ -0,0 +1,2 @@
+# ignore temporary LaTeX overlays generated by Org-mode
+ltxpng
View
5 epresent.el
@@ -224,6 +224,8 @@
(org-preview-latex-fragment 16))
;; fontify the buffer
(add-to-invisibility-spec '(epresent-hide))
+ ;; remove flyspell overlays
+ (org-remove-flyspell-overlays-in (point-min) (point-max))
(epresent-fontify))
;;;###autoload
@@ -234,8 +236,7 @@
(error "EPresent can only be used from Org Mode"))
(setq epresent--org-buffer (current-buffer))
(epresent--get-frame)
- (epresent-mode)
- (epresent-top) (epresent-top))
+ (epresent-mode))
;;;###autoload(global-set-key [f12] 'epresent-run)

0 comments on commit 016f027

Please sign in to comment.
Something went wrong with that request. Please try again.