aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbard <[email protected]>2024-03-22 17:11:04 -0400
committerbard <[email protected]>2024-03-22 17:11:04 -0400
commit62617ade3fb5f941369765f214cf9fef6c7d3a96 (patch)
tree79beb34dead4eabfe47789ff16c3f96b19f3a85b
parent75b9144ba8e0e68b02ae736e052bb11814eff162 (diff)
enable caching and certain commands
-rw-r--r--init.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/init.el b/init.el
index ec55261..43dca89 100644
--- a/init.el
+++ b/init.el
@@ -54,6 +54,20 @@
(setq make-backup-files nil)
(setq confirm-kill-emacs 'y-or-n-p)
+;; enable/disable commands
+(mapc
+ (lambda (command)
+ (put command 'disabled nil))
+ '(list-timers narrow-to-region narrow-to-page upcase-region downcase-region))
+
+(mapc
+ (lambda (command)
+ (put command 'disabled t))
+ '(eshell project-eshell overwrite-mode iconify-frame diary))
+
+;; Package cache
+(setq package-enable-at-startup t)
+
;; Desktop mode/session saving
(setq desktop-path '("~/.emacs.d/desktop")
desktop-dirname "~/.emacs.d/desktop/"