Commit 119b42eb authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(sh-while-getopts) <sh>: Handle case that

user-specified option string is empty.
parent 0e57ab65
2000-05-15 Gerd Moellmann <gerd@gnu.org>
* progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
user-specified option string is empty.
* mouse.el (mouse-yank-at-click): Doc fix.
2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
* term/internal.el (IT-character-translations): More updates of
......
......@@ -3943,7 +3943,8 @@ option followed by a colon `:' if the option accepts an argument."
(while (search-backward ":" v1 t)
(replace-match " ARG] [+-" t t)))
(if (eq (preceding-char) ?-) -5)
"] [--] ARGS...\"" \n
(if (length v1) "] ")
"[--] ARGS...\"" \n
"exit 2" > \n
"esac" >
\n "done"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment