Mercurial > emacs
changeset 53419:7864e9172d4e
(sh-get-indent-info):
Don't move point back if at bob.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 29 Dec 2003 20:03:46 +0000 |
parents | af00346728dd |
children | 95e0a0bdebb2 |
files | lisp/progmodes/sh-script.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el Mon Dec 29 20:03:05 2003 +0000 +++ b/lisp/progmodes/sh-script.el Mon Dec 29 20:03:46 2003 +0000 @@ -2052,7 +2052,8 @@ (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)