Update .emacs

This commit is contained in:
Rawley Fowler 2022-09-24 21:49:14 -05:00 committed by GitHub
parent 64b4e6aabe
commit 7747ff9d4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
debian/home/.emacs vendored
View file

@ -44,9 +44,17 @@
(use-package haml-mode) (use-package haml-mode)
(use-package rescript-mode) (use-package rescript-mode)
(use-package reason-mode) (use-package reason-mode)
(use-package dune)
(use-package dune-format)
(if (package-installed-p 'dune-format)
(add-hook 'dune-mode-hook 'dune-format-on-save-mode))
(setq utop-commands "opam config exec -- utop -emacs") (setq utop-commands "opam config exec -- utop -emacs")
(defun copy-all ()
(interactive)
(clipboard-kill-ring-save (point-min) (point-max)))
(custom-set-variables (custom-set-variables
;; custom-set-variables was added by Custom. ;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
@ -55,8 +63,9 @@
'(custom-enabled-themes '(gruber-darker)) '(custom-enabled-themes '(gruber-darker))
'(custom-safe-themes '(custom-safe-themes
'("3d2e532b010eeb2f5e09c79f0b3a277bfc268ca91a59cdda7ffd056b868a03bc" default)) '("3d2e532b010eeb2f5e09c79f0b3a277bfc268ca91a59cdda7ffd056b868a03bc" default))
'(ispell-dictionary nil)
'(package-selected-packages '(package-selected-packages
'(reason-mode rescript-mode utop haml-mode tuareg caml-mode ocaml-mode smex gruber-darker-theme use-package))) '(dune dune-format reason-mode rescript-mode utop haml-mode tuareg caml-mode ocaml-mode smex gruber-darker-theme use-package)))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.