refactor(config): Remove unused packages and
reorganize configuration - Remove meow cursor configuration - Remove nano-modeline package and configuration - Re-enable default Doom modeline - Comment out org-habit module - Improve code formatting and indentation in org-mode config - Remove stray "hello" text from config.org - Reorganize org-mode sections for better clarity
This commit is contained in:
49
packages.el
49
packages.el
@@ -4,8 +4,6 @@
|
||||
|
||||
;; (package! ef-themes)
|
||||
|
||||
(package! nano-modeline)
|
||||
|
||||
(package! rainbow-delimiters)
|
||||
|
||||
(package! leetcode)
|
||||
@@ -16,26 +14,31 @@
|
||||
:recipe (:host github :repo "havarddj/typst-preview.el"))
|
||||
|
||||
(package! org :recipe
|
||||
(:host nil :repo "https://git.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork
|
||||
(:host nil :repo "https://git.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur")
|
||||
:files
|
||||
(:defaults "etc")
|
||||
:build t :pre-build
|
||||
(with-temp-file "org-version.el"
|
||||
(require 'lisp-mnt)
|
||||
(let
|
||||
((version
|
||||
(with-temp-buffer
|
||||
(insert-file-contents "lisp/org.el")
|
||||
(lm-header "version")))
|
||||
(git-version
|
||||
(string-trim
|
||||
(with-temp-buffer
|
||||
(call-process "git" nil t nil "rev-parse" "--short" "HEAD")
|
||||
(buffer-string)))))
|
||||
(insert
|
||||
(format "(defun org-release () \"The release version of Org.\" %S)\n" version)
|
||||
(format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version)
|
||||
"(provide 'org-version)\n"))))
|
||||
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git"
|
||||
:remote "mirror" :fork
|
||||
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git"
|
||||
:branch "dev" :remote "tecosaur")
|
||||
:files (:defaults "etc") :build t :pre-build
|
||||
(with-temp-file "lisp/org-version.el"
|
||||
(require 'lisp-mnt)
|
||||
(let
|
||||
((version
|
||||
(with-temp-buffer
|
||||
(insert-file-contents "lisp/org.el")
|
||||
(lm-header "version")))
|
||||
(git-version
|
||||
(string-trim
|
||||
(with-temp-buffer
|
||||
(call-process "git" nil t nil "rev-parse"
|
||||
"--short" "HEAD")
|
||||
(buffer-string)))))
|
||||
(insert
|
||||
(format
|
||||
"(defun org-release () \"The release version of Org.\" %S)\n"
|
||||
version)
|
||||
(format
|
||||
"(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n"
|
||||
git-version)
|
||||
"(provide 'org-version)\n"))))
|
||||
:pin nil)
|
||||
(unpin! org)
|
||||
|
||||
Reference in New Issue
Block a user