From 5e0314f6fabca1af214240177a28d3822d6ef3e5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 26 Mar 2015 09:36:24 -0400 Subject: * 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. --- lisp/emacs-lisp/smie.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el index 184912d9fc4..4f3f12d5285 100644 --- a/lisp/emacs-lisp/smie.el +++ b/lisp/emacs-lisp/smie.el @@ -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)) -- cgit v1.2.3