emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/pacmacs e59d6bda5a 430/472: Add pacmacs-levels-folder cust


From: ELPA Syncer
Subject: [nongnu] elpa/pacmacs e59d6bda5a 430/472: Add pacmacs-levels-folder custom (#191)
Date: Thu, 6 Jan 2022 21:59:46 -0500 (EST)

branch: elpa/pacmacs
commit e59d6bda5a160190db6af93692494585d41ab858
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>

    Add pacmacs-levels-folder custom (#191)
---
 pacmacs.el | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pacmacs.el b/pacmacs.el
index 0ac35b98d8..dcaa942f0c 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -83,6 +83,18 @@
 
 (defvar pacmacs-waiting-counter 0)
 
+(defgroup pacmacs nil
+  "Customizations for Pacmacs game."
+  :prefix "pacmacs-"
+  :group 'wp
+  :link '(url-link "https://github.com/codingteam/pacmacs.el";))
+
+(defcustom pacmacs-levels-folder nil
+  "A folder from where the Pacmacs game loads its levels."
+  :group 'pacmacs
+  :type '(radio (const :tag "Default path")
+                (directory :tag "Custom path")))
+
 (define-derived-mode pacmacs-mode special-mode "pacmacs-mode"
   (define-key pacmacs-mode-map (kbd "<up>") 'pacmacs-up)
   (define-key pacmacs-mode-map (kbd "<down>") 'pacmacs-down)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]