[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs 646db1b62a 022/472: Kill game window on quit. Clos
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs 646db1b62a 022/472: Kill game window on quit. Close #17 |
Date: |
Thu, 6 Jan 2022 21:59:01 -0500 (EST) |
branch: elpa/pacmacs
commit 646db1b62af2d48b2ce4224f2635ccb680f59c75
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Kill game window on quit. Close #17
---
pacman.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pacman.el b/pacman.el
index 738a64fcc8..b25f41bb9e 100644
--- a/pacman.el
+++ b/pacman.el
@@ -75,7 +75,10 @@
(defun pacman-quit ()
(interactive)
(when (get-buffer pacman-buffer-name)
- (kill-buffer pacman-buffer-name)))
+ (with-current-buffer pacman-buffer-name
+ (if (get-buffer-window pacman-buffer-name)
+ (kill-buffer-and-window)
+ (kill-buffer pacman-buffer-name)))))
(defun pacman-tick ()
(interactive)
- [nongnu] elpa/pacmacs 3ff080432f 015/472: Extract pacman-resources module (#19), (continued)
- [nongnu] elpa/pacmacs 3ff080432f 015/472: Extract pacman-resources module (#19), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b8fce3e847 028/472: Add UT for pacman-convert-aseprite-frame function (#22), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 179ea99635 021/472: Add our own sprites. Close #13, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d0dc2eff12 027/472: Ad UT for pacman-anim-object-next-frame function (#22), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs abb1f366fb 031/472: Merge branch 'uts-for-aseprite-animation-support-22'. Close #22, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs fe05829cd3 004/472: Fix kill buffer problem. Close #7, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 0a532ddc58 011/472: Add gitignore, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 96ad2016a1 001/472: Add initial code for pacman game, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 8eddfbd0df 005/472: Implement resource application layer. Close #3, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e75db415af 013/472: Enable travis. Close #14, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 646db1b62a 022/472: Kill game window on quit. Close #17,
ELPA Syncer <=
- [nongnu] elpa/pacmacs b8d1136c3a 014/472: Extract pacman-anim module (#19), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 929fda2cb4 016/472: Define package in Cask file directly (#19), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 043c660152 038/472: Clean up usage instructions in README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 58cf91b060 032/472: Enable undercover (#27), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 30b5c43879 040/472: License header (#28):, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 59b5b95c2d 039/472: Share the sprites source files. Close #25, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5780c37396 044/472: Add UT for pacman-make-anim function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1f32ee2489 048/472: Implement board state (#5), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1b26ae45fc 055/472: Convert sprites to XPM. Close #49, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 03a96041d9 056/472: Add a README note about limitations. Close #45, ELPA Syncer, 2022/01/06