]> git.vanrenterghem.biz Git - Dotty.git/commitdiff
Use separate custom variables file for Emacs config.
authorFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Wed, 9 Apr 2025 14:02:01 +0000 (22:02 +0800)
committerFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Wed, 9 Apr 2025 14:02:01 +0000 (22:02 +0800)
emacs/.emacs.d/init.el

index 95e66e8a7749eff05af1c7f280425911b4248df6..ee17ca85697495164e490d76796002077c1779c0 100644 (file)
@@ -7,6 +7,10 @@
 (add-to-list 'load-path "~/.emacs.d/lisp/")
 
 (tool-bar-mode -1)
+(scroll-bar-mode -1)
+
+(setopt custom-file "~/.emacs.d/custom.el")
+(load custom-file)
 
 ;; Configure printing using CUPS network printer
 (setq lpr-switches
@@ -241,41 +245,6 @@ minutes), and return a formatted Org timestamp with start and end times."
       ("\\.hs\\'" . haskell-mode)
       ("\\.el\\'" . emacs-lisp-mode)))
 
-
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(browse-url-browser-function 'browse-url-firefox)
- '(custom-safe-themes
-   '("8d146df8bd640320d5ca94d2913392bc6f763d5bc2bb47bed8e14975017eea91"
-     "9a977ddae55e0e91c09952e96d614ae0be69727ea78ca145beea1aae01ac78d2"
-     "0cf95236abcf59e05b1ea69b4edd53d293a5baec4fe4c3484543fee99bfd2204"
-     "80b00f3bf7cdbdca6c80aadfbbb03145f3d0aacf6bf2a559301e61109954e30a"
-     default))
- '(org-export-backends '(ascii html icalendar latex md odt))
- '(package-selected-packages
-   '(## ack all-the-icons-dired auctex calfw calfw-org company consult
-           consult-denote denote devdocs dired-preview
-           dired-quick-sort eat elfeed-protocol ellama elpy embark
-           embark-consult emms engrave-faces ess ess-R-data-view
-           ess-smart-underscore ess-view-data flx fontaine ftable
-           haskell-mode htmlize jinx julia-mode leuven-theme libmpdel
-           lsp-mode lua-mode magit marginalia mpdel-embark mu4e
-           mustache nerd-icons nerd-icons-dired nov orderless org
-           org-caldav org-contrib org-ql org-static-blog osm ox-rss
-           pass password-store powerthesaurus request straight
-           vertico))
- '(use-package-compute-statistics t))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
-
-
 ;; Send mail using SMTP via mail.vanrenterghem.io.
 (setq send-mail-function    'smtpmail-send-it)
 (setq smtpmail-smtp-server "mail.vanrenterghem.io"