diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-05-28 21:50:33 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-05-31 18:49:40 -0700 |
commit | ab430205579cd95c95049bb0233d00782c3610af (patch) | |
tree | f1c46f3ea1d5836d9b88f442e72e999387e31621 | |
parent | f7f7244d317ee03c40cf891ac5a1f91d14e94172 (diff) | |
download | dotfiles-ab430205579cd95c95049bb0233d00782c3610af.tar.gz |
use set-mark not push-mark, and shorten
At least right now, I can't imagine wanting to make use of the
slightly differently positioned mark.
-rw-r--r-- | .emacs.d/init-spw.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el index cb3de830..0cb60ae0 100644 --- a/.emacs.d/init-spw.el +++ b/.emacs.d/init-spw.el @@ -161,11 +161,7 @@ add places the library might be available to `load-path'." (when (> (point) (mark)) (exchange-point-and-mark (not transient-mark-mode))) (beginning-of-line) - (let ((end (save-excursion - (goto-char (mark)) - (beginning-of-line 2) - (point)))) - (push-mark end nil t))) + (set-mark (save-excursion (goto-char (mark)) (beginning-of-line 2) (point))) (defun spw/meta-i (arg) (interactive "P") (call-interactively |