Skip to content

Commit

Permalink
Fix undefined reference to shm-display-quarantine in haskell-present
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdone committed Jan 15, 2014
1 parent fa1b365 commit 9292ba1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion haskell-presentation-mode.el
Expand Up @@ -42,7 +42,8 @@ SESSION as the current haskell-session."
(buffer (get-buffer-create name)))
(with-current-buffer buffer
(haskell-presentation-mode)
(set (make-local-variable 'shm-display-quarantine) nil)
(if (boundp 'shm-display-quarantine)
(set (make-local-variable 'shm-display-quarantine) nil))
(let ((buffer-read-only nil))
(erase-buffer)
(insert (propertize "-- Hit `q' to close this window.\n\n"
Expand Down

0 comments on commit 9292ba1

Please sign in to comment.