branch: externals/tex-parens
commit 06303e66bad0d811245e8d59460da555603e629f
Author: Paul Nelson <[email protected]>
Commit: Paul Nelson <[email protected]>

    add arg initialization where appropriate
---
 tex-parens.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tex-parens.el b/tex-parens.el
index a860392256..e5913361a8 100644
--- a/tex-parens.el
+++ b/tex-parens.el
@@ -397,6 +397,7 @@ backward across N balanced groups."
 With ARG, do it that many times.  Negative
 arg -N means move forward across N balanced groups."
   (interactive "^p")
+  (unless arg (setq arg 1))
   (tp-forward-list (- arg)))
 
 (defun tp--forward-list-1 (&optional bound)
@@ -592,6 +593,7 @@ backward into N balanced groups."
 With ARG, do it that many times.  Negative arg -N means move
 forward into N balanced groups."
   (interactive "^p")
+  (unless arg (setq arg 1))
   (tp-down-list (- arg)))
 
 (defun tp--down-list-1 (&optional bound)

Reply via email to