mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
* smie.el (smie*ward-sexp-command): Don't pretend the arg is optional
Fixes: debbugs:20205 * lisp/emacs-lisp/smie.el (smie-backward-sexp-command) (smie-forward-sexp-command): Don't pretend the arg is optional.
This commit is contained in:
parent
13cf575c1d
commit
5e0314f6fa
2 changed files with 33 additions and 27 deletions
|
|
@ -834,12 +834,12 @@ Possible return values:
|
|||
|
||||
;;; Miscellaneous commands using the precedence parser.
|
||||
|
||||
(defun smie-backward-sexp-command (&optional n)
|
||||
(defun smie-backward-sexp-command (n)
|
||||
"Move backward through N logical elements."
|
||||
(interactive "^p")
|
||||
(smie-forward-sexp-command (- n)))
|
||||
|
||||
(defun smie-forward-sexp-command (&optional n)
|
||||
(defun smie-forward-sexp-command (n)
|
||||
"Move forward through N logical elements."
|
||||
(interactive "^p")
|
||||
(let ((forw (> n 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue