Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e63ace37
Commit
e63ace37
authored
Dec 30, 2013
by
Daniel Colascione
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix infloop in indentation code
parent
2db9da01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/progmodes/sh-script.el
lisp/progmodes/sh-script.el
+2
-2
No files found.
lisp/ChangeLog
View file @
e63ace37
2013-12-30 Daniel Colascione <dancol@dancol.org>
* progmodes/sh-script.el
(sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
in indentation code. (Bug#16233)
2013-12-28 João Távora <joaotavora@gmail.com>
* elec-pair.el (electric-pair-post-self-insert-function): Don't
...
...
lisp/progmodes/sh-script.el
View file @
e63ace37
...
...
@@ -1844,7 +1844,7 @@ Does not preserve point."
";")
(let ((semi (sh-smie--newline-semi-p)))
(forward-line 1)
(if
semi
";"
(if
(or semi (eobp))
";"
(sh-smie-sh-forward-token))))
(forward-comment (point-max))
(cond
...
...
@@ -2070,7 +2070,7 @@ Point should be before the newline."
";")
(let ((semi (sh-smie--rc-newline-semi-p)))
(forward-line 1)
(if
semi
";"
(if
(or semi (eobp))
";"
(sh-smie-rc-forward-token))))
(forward-comment (point-max))
(cond
...
...
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