HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e86c60
)
(sh-get-indent-info):
author
Richard M. Stallman
<rms@gnu.org>
Mon, 29 Dec 2003 20:03:46 +0000
(20:03 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 29 Dec 2003 20:03:46 +0000
(20:03 +0000)
Don't move point back if at bob.
lisp/progmodes/sh-script.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/progmodes/sh-script.el
b/lisp/progmodes/sh-script.el
index
e63dda1
..
a23dc0a
100644
(file)
--- a/
lisp/progmodes/sh-script.el
+++ b/
lisp/progmodes/sh-script.el
@@
-2052,7
+2052,8
@@
STRING This is ignored for the purposes of calculating
(progn
(setq result (append result val))
(setq align-point (point))))
- (forward-char -1)
+ (or (bobp)
+ (forward-char -1))
(skip-chars-forward "[a-z0-9]*?")
)
((string-match "[])}]" x)