aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/rul-lisp/packages')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-bindings.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-bindings.el b/.emacs.d/rul-lisp/packages/rul-bindings.el
index 0ae80f3..5421264 100644
--- a/.emacs.d/rul-lisp/packages/rul-bindings.el
+++ b/.emacs.d/rul-lisp/packages/rul-bindings.el
@@ -2,12 +2,9 @@
(global-set-key (kbd "C-c R") 'revert-buffer)
(global-set-key (kbd "C-c w") 'whitespace-cleanup)
-(defun help/insert-em-dash ()
- "Inserts an EM-DASH (not a HYPEN, not an N-DASH)"
- (interactive)
- (insert "—"))
-
-(global-set-key (kbd "C--") #'help/insert-em-dash)
+;; Em dash (not a hyphen, not an en dash). C-x 8 _ m does this natively;
+;; C-- is the short form.
+(global-set-key (kbd "C--") (lambda () (interactive) (insert ?—)))
;; Zoom. `text-scale-adjust' keeps reading +, -, and 0 after being
;; invoked, so it repeats like a hydra without needing one.
nihil fit ex nihilo