branch: master
commit 658340b188ef40a3bbe03c258185157b3bbe0727
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>

    Remove requiring a match during `completing-read'
    
    * latex.el (TeX-arg-corner, TeX-arg-lr, TeX-arg-tb): Don't pass a
    non-nil value for the REQUIRE-MATCH argument to `completing-read'.
---
 latex.el | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/latex.el b/latex.el
index 3746c982..6c51a146 100644
--- a/latex.el
+++ b/latex.el
@@ -2835,8 +2835,7 @@ argument, otherwise as a mandatory one.  Use PROMPT as 
the prompt
 string."
   (TeX-argument-insert
    (completing-read (TeX-argument-prompt optional prompt "Position")
-                    '("l" "r" "t" "b" "tl" "tr" "bl" "br")
-                    nil t)
+                    '("l" "r" "t" "b" "tl" "tr" "bl" "br"))
    optional))
 
 (defun TeX-arg-lr (optional &optional prompt)
@@ -2846,8 +2845,7 @@ argument, otherwise as a mandatory one.  Use PROMPT as 
the prompt
 string."
   (TeX-argument-insert
    (completing-read (TeX-argument-prompt optional prompt "Position")
-                    '("l" "r")
-                    nil t)
+                    '("l" "r"))
    optional))
 
 (defun TeX-arg-tb (optional &optional prompt poslist)
@@ -2867,8 +2865,7 @@ with the following completion list:
                           ((eq poslist 'stretch)
                            '("t" "b" "c" "s"))
                           (t
-                           '("t" "b")))
-                    nil t)
+                           '("t" "b"))))
    optional))
 
 (defcustom TeX-date-format "%Y/%m/%d"

Reply via email to