summaryrefslogtreecommitdiff
path: root/modules/prog-lisp.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-22 12:23:13 -0500
committerCraig Jennings <c@cjennings.net>2024-04-22 12:23:13 -0500
commit2dd3aed6971fe74915c1fc09b4de20a6c64e817b (patch)
treef9d896ebcfd0e6a2acb2684ff085a42324a9a638 /modules/prog-lisp.el
parent5d18558615a127640d6b4e634997ee35a5fe1b77 (diff)
New Custom Functions, Org Updates, Agenda Updates, &c.
=== Functions === - add function cj/dired-convert-image-to-jpeg - add function cj/dired-copy-path-as-kill - add function cj/export-org-to-md-on-save function - add function cj/org-link-to-current-file === Agenda === - rework the f8 main agenda into custom agenda using Aaron Bieber's ideas - agenda lists now use standard agenda functions - updated packages to remove org-super-agenda and ts (a dependency) - file commentary text updated to reflect the change === Org === - add grocery and shopping list capture items - add missing tests for org-skip-subtree-if-habit - add support for org-habits, including checkboxes - fix issue with org-auto-export-to-md - modularize org-agenda - move todo settings to org-config - reformat org-roam-config === &c. === - add day to sortable date - add disablefastrenderer to hugo server flags - add fill column indicator when emacs lisping - add gpt buffers to the bury-alive-list - add keybinding for fixup-whitespace - add magit cloning settings - finish automatically on "Link" capture - fix company complaints about shutting up function - fix em, e, ff, and f eshell aliases - make fallback theme modus-vivendi - prune the compilation cache when applicable
Diffstat (limited to 'modules/prog-lisp.el')
-rw-r--r--modules/prog-lisp.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/prog-lisp.el b/modules/prog-lisp.el
index 618108bd..59eb122b 100644
--- a/modules/prog-lisp.el
+++ b/modules/prog-lisp.el
@@ -31,15 +31,17 @@
;; $ rlwrap sbcl
;;; Code:
+(require 'ert)
;; -------------------------------- Elisp Setup --------------------------------
;; run this on editing an elisp file
(defun cj/elisp-setup ()
"My default code preferences for emacs-lisp."
- (setq-default tab-width 4) ;; set the tab width to 4 spaces
- (setq-default indent-tabs-mode -1) ;; disable tab characters
- (setq-default fill-column 80))
+ (setq-default tab-width 4) ;; set the tab width to 4 spaces
+ (setq-default indent-tabs-mode -1) ;; disable tab characters
+ (setq-default fill-column 80) ;; default column for gnu projects
+ (display-fill-column-indicator-mode)) ;; show where the 80th column is
(add-hook 'emacs-lisp-mode-hook 'cj/elisp-setup)
;; ------------------------------ Emacs Lisp REPL ------------------------------
@@ -85,7 +87,7 @@
(defun cj/eval-and-run-all-tests-in-buffer ()
- "Delete loaded tests, evaluate current buffer. and run all loaded ERT tests."
+ "Delete any loaded tests, evaluate current buffer, and run loaded ERT tests."
(interactive)
(ert-delete-all-tests)
(eval-buffer)