summaryrefslogtreecommitdiff
path: root/.config/emacs/editing.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/editing.el')
-rw-r--r--.config/emacs/editing.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/emacs/editing.el b/.config/emacs/editing.el
index e400588..9ff270d 100644
--- a/.config/emacs/editing.el
+++ b/.config/emacs/editing.el
@@ -39,7 +39,7 @@ just as they are with `mark-word.'"
(if (eq last-command this-command)
(mark-word arg allow-extend)
(let ((bounds (bounds-of-thing-at-point 'word))
- (numeric-arg allow-extend))
+ (numeric-arg (or allow-extend 0)))
(if bounds
(goto-char (if (< numeric-arg 0)
(cdr bounds)