]> git.earman.xyz Git - emacsinit.git/commitdiff
Auto-Formatting
authorrearman <rearman@r717.net>
Fri, 22 Aug 2025 15:23:35 +0000 (11:23 -0400)
committerrearman <rearman@r717.net>
Fri, 22 Aug 2025 15:23:35 +0000 (11:23 -0400)
re/re-editing-defuns.el

index a011e2cec0f967b0b224ef98bee0e26ee12cf14b..8ede32856f8a024dc42c3f3f934ffca5a586a503 100644 (file)
@@ -145,13 +145,13 @@ If in org-mode, call `org-end-of-line' first."
   (save-some-buffers t)
   (kill-emacs nil t))
 
- (defun re/push-mark-no-activate ()
-   "Pushes `point' to `mark-ring' and does not activate the region.
+(defun re/push-mark-no-activate ()
+  "Pushes `point' to `mark-ring' and does not activate the region.
 Equivalent to \\[set-mark-command] when \\[transient-mark-mode] is disabled.
 Taken from https://www.masteringemacs.org/article/fixing-mark-commands-transient-mark-mode"
-   (interactive)
-   (push-mark (point) t nil)
-   (message "Pushed mark to ring"))
+  (interactive)
+  (push-mark (point) t nil)
+  (message "Pushed mark to ring"))
 
 (defun re/jump-to-mark ()
   "Jumps to the local mark, respecting the `mark-ring' order.