mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Revert "Tweak sh-script-mode indentation further"
This reverts commit 6392bc37ab.
The changes led to errors throughout (bug#50320).
This commit is contained in:
parent
f3c5355c6b
commit
f143260d04
2 changed files with 2 additions and 13 deletions
|
|
@ -1775,7 +1775,7 @@ Does not preserve point."
|
|||
(goto-char p)
|
||||
nil))))
|
||||
(while
|
||||
(progn (skip-syntax-backward ".w_'()")
|
||||
(progn (skip-syntax-backward ".w_'")
|
||||
(or (not (zerop (skip-syntax-backward "\\")))
|
||||
(when (eq ?\\ (char-before (1- (point))))
|
||||
(let ((p (point)))
|
||||
|
|
|
|||
|
|
@ -35,17 +35,6 @@
|
|||
(should (equal
|
||||
(buffer-substring-no-properties (point-min) (point-max))
|
||||
"relative-path/to/configure --prefix=$prefix\\
|
||||
--with-x")))
|
||||
(with-temp-buffer
|
||||
(insert "${path_to_root}/configure --prefix=$prefix\\
|
||||
--with-x")
|
||||
(shell-script-mode)
|
||||
(goto-char (point-min))
|
||||
(forward-line 1)
|
||||
(indent-for-tab-command)
|
||||
(should (equal
|
||||
(buffer-substring-no-properties (point-min) (point-max))
|
||||
"${path_to_root}/configure --prefix=$prefix\\
|
||||
--with-x"))))
|
||||
--with-x"))))
|
||||
|
||||
;;; sh-script-tests.el ends here
|
||||
|
|
|
|||
Loading…
Reference in a new issue