diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-11-07 21:59:04 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-11-07 21:59:04 +0100 |
commit | 2af1297e2cc7895b37df76c5b904293ad767b4aa (patch) | |
tree | 3e37bea322f685b1a5c72a11ee23fe8e3287515f /.config | |
parent | 0cf425d6fd957b4982dc17a54671da74953df71c (diff) |
emacs: Check for nil
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/editing.el | 2 |
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) |