-
Notifications
You must be signed in to change notification settings - Fork 0
/
site-pref.el
64 lines (44 loc) · 1.42 KB
/
site-pref.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
;; ---( site.func: begin )-------------------------------------------------------
(message "SITE:PREF - begin")
;; ---( ... )--------------------------------------------------------------
(defgroup h7prefs nil
"H7 profile customization."
:group 'convenience)
(defcustom z-use-helm nil
"Non-nil means to activate 'helm'."
:type 'boolean
:group 'h7prefs)
(defcustom z-use-ivy nil
"Non-nil means to activate 'ivy'."
:type 'boolean
:group 'h7prefs)
(defcustom z-use-vertico nil
"Non-nil means to activate 'vertico'."
:type 'boolean
:group 'h7prefs)
(defcustom z-use-pdf-tools nil
"Non-nil means to activate 'pdf-tools' instead of 'docview'."
:type 'boolean
:group 'h7prefs)
(defcustom z-use-py-jupyter nil
"Non-nil means to activate 'jupyter'. 'zmq' binary module required, see note on zmq package."
:type 'boolean
:group 'h7prefs)
;; ---( ... )--------------------------------------------------------------
(defun h7/use-helm ()
z-use-helm)
(defun h7/use-ivy ()
z-use-ivy)
(defun h7/use-vertico ()
z-use-vertico)
;; ---( ... )--------------------------------------------------------------
(defun h7/use-pdf-tools ()
z-use-pdf-tools)
(defun h7/use-pdf-docview ()
(not z-use-pdf-tools))
(defun h7/use-py-jupyter ()
z-use-py-jupyter)
;; ---( site.func: end )-------------------------------------------------------
(message "SITE:PREF - end")
(provide 'site-pref)
;;; site-pref.el ends here