summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/smie.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-03-29 14:14:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-03-29 14:14:15 -0700
commit0479a1b62ceeb9586168146e2c8f49f2a5ebaf2f (patch)
tree1fd646daf290a63564bd8823b8a0ba32e8190ae3 /lisp/emacs-lisp/smie.el
parent4a7004369824ea46fd5222a3f57cf3ee67e988e0 (diff)
parent5e0314f6fabca1af214240177a28d3822d6ef3e5 (diff)
downloademacs-0479a1b62ceeb9586168146e2c8f49f2a5ebaf2f.tar.gz
Merge from origin/emacs-24
5e0314f * smie.el (smie*ward-sexp-command): Don't pretend the arg is optional 13cf575 Don't round up scroll bar width with GTK3 (Bug#20182). 921dd0d * doc/lispref/objects.texi (Equality Predicates): Fix typo in example. Conflicts: doc/lispref/ChangeLog lisp/ChangeLog src/ChangeLog
Diffstat (limited to 'lisp/emacs-lisp/smie.el')
-rw-r--r--lisp/emacs-lisp/smie.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el
index 48bded4e3a6..1bc5eb28720 100644
--- a/lisp/emacs-lisp/smie.el
+++ b/lisp/emacs-lisp/smie.el
@@ -837,12 +837,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))