Add oni-project Emacs configuration

This commit is contained in:
Tom Willemse 2023-07-22 23:05:34 -07:00
parent 27ac219de2
commit d828d9155d
2 changed files with 15 additions and 3 deletions

View file

@ -118,7 +118,8 @@
emacs-oni-gui
emacs-oni-magit
emacs-oni-notmuch
emacs-oni-hy))
emacs-oni-hy
emacs-oni-project))
#:use-module ((oni packages hlwm-run-or-raise)
#:select (hlwm-run-or-raise))
#:use-module ((oni packages inbox-size)
@ -227,6 +228,7 @@
emacs-oni-magit
emacs-oni-notmuch
emacs-oni-hy
emacs-oni-project
tree-sitter-bash
tree-sitter-scheme
tree-sitter-python
@ -305,6 +307,7 @@
(mixed-text-file
"init.el"
"(with-eval-after-load 'hy-mode (require 'oni-hy))\n"
"(with-eval-after-load 'project (require 'oni-project))\n"
"(setq custom-file \"~/.config/emacs/custom.el\")\n"
"(load custom-file)\n"
"(provide 'init)\n"

View file

@ -13,7 +13,7 @@
#:use-module (oni packages go))
(define-public emacs-oni-config
(let ((commit "6c97f1359599c8329f51ba8051fdd3fc1ccc82ef")
(let ((commit "b8c519dd2b2f3b9e300f6547cd0e2ea7c2fcf7ed")
(revision "0"))
(package
(name "emacs-oni-config")
@ -26,7 +26,7 @@
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1za8ywvx0q24f2mqy0dbskj7irp73ypvjxy7l5d4724icpj38ycx"))))
(base32 "1i3097qz28v4pmsfwg33l0zqpg4js8yz10jqvsgqgfnr60034nfy"))))
(build-system emacs-build-system)
(home-page "https://code.ryuslash.org/ryuslash/emacs-config")
(synopsis "My Emacs configuration")
@ -615,3 +615,12 @@ Emacs")))
emacs-rainbow-delimiters))
(synopsis "My Hy configuration")
(description "This package provides my configuration for Hy.")))
(define-public emacs-oni-project
(package
(inherit emacs-oni-config)
(name "emacs-oni-project")
(arguments
'(#:include '("oni-project\\.el$")))
(synopsis "My project.el configuration")
(description "This package provides my configuration for project.el.")))