branch: elpa/pacmacs
commit 98ce700143262584c29a180ed88b1f5c7fc6262a
Author: rexim <[email protected]>
Commit: rexim <[email protected]>

    Hide cursor in the game's buffer. Close #12
---
 pacman.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pacman.el b/pacman.el
index b25f41bb9e..fd57777c72 100644
--- a/pacman.el
+++ b/pacman.el
@@ -58,7 +58,8 @@
   (define-key pacman-mode-map (kbd "<left>") 'pacman-left)
   (define-key pacman-mode-map (kbd "<right>") 'pacman-right)
   (define-key pacman-mode-map (kbd "q") 'pacman-quit)
-  (add-hook 'kill-buffer-hook 'pacman-destroy nil t))
+  (add-hook 'kill-buffer-hook 'pacman-destroy nil t)
+  (setq cursor-type nil))
 
 (defun pacman-start ()
   (interactive)

Reply via email to