Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
16ed8416
Commit
16ed8416
authored
Jun 21, 2000
by
Gerd Moellmann
Browse files
(sh-while-getopts): Fix handling of
empty option string.
parent
9f2bbc92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/sh-script.el
lisp/progmodes/sh-script.el
+1
-1
No files found.
lisp/ChangeLog
View file @
16ed8416
2000-06-21 Gerd Moellmann <gerd@gnu.org>
* progmodes/sh-script.el (sh-while-getopts): Fix handling of
empty option string.
2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
* man.el (man): Doc fix.
...
...
lisp/progmodes/sh-script.el
View file @
16ed8416
...
...
@@ -3939,7 +3939,7 @@ 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
)
(
if
(
length
v1
)
"] "
)
(
if
(
and
(
sequencep
v1
)
(
length
v1
)
)
"]
"
"}
"
)
"[--] ARGS...\""
\n
"exit 2"
>
\n
"esac"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment