summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-10-12 00:02:21 -0500
committerCase Duckworth2021-10-12 00:02:21 -0500
commitca6b4321f339e65ecc26b7eeb589fe47c23fe0bb (patch)
treec0e541215ac97164abab6e6f9e1de8c8ab420d4a
parentOnly update with mu4e if no systemd timer (diff)
downloademacs-ca6b4321f339e65ecc26b7eeb589fe47c23fe0bb.tar.gz
emacs-ca6b4321f339e65ecc26b7eeb589fe47c23fe0bb.zip
Remove commented and restart-emacs
-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"))