about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el23
1 files changed, 0 insertions, 23 deletions
diff --git a/init.el b/init.el index 179f078..09bd7f4 100644 --- a/init.el +++ b/init.el
@@ -2344,29 +2344,6 @@ the default is \"/\"."
2344 :repo "jschaf/powershell.el") 2344 :repo "jschaf/powershell.el")
2345 (acdw/system :work))) 2345 (acdw/system :work)))
2346 2346
2347;; (setup (:straight persistent-scratch)
2348;; (:option persistent-scratch-backup-directory (acdw/dir "scratch" t)
2349;; persistent-scratch-keep-n-newest-backups 12
2350;; persistent-scratch-what-to-save '(point))
2351
2352;; (persistent-scratch-setup-default)
2353
2354;; (mapc (lambda (buf)
2355;; (with-current-buffer buf
2356;; (when (funcall persistent-scratch-scratch-buffer-p-function)
2357;; (persistent-scratch-mode +1))))
2358;; (buffer-list)))
2359
2360(setup (:straight restart-emacs)
2361 (defun emacs-upgrade (&optional update-packages)
2362 "Pull config, upgrade packages, restart Emacs."
2363 (interactive "P")
2364 (emacs-git-pull-config)
2365 (when update-packages
2366 (require 'straight-x)
2367 (straight-x-pull-all))
2368 (restart-emacs)))
2369
2370(setup (:straight (shell-command+ 2347(setup (:straight (shell-command+
2371 :host nil 2348 :host nil
2372 :repo "https://git.sr.ht/~pkal/shell-command-plus")) 2349 :repo "https://git.sr.ht/~pkal/shell-command-plus"))