summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2013-01-03 21:53:48 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2013-01-03 21:53:48 -0500
commit4a74c818809349ea30ddb5b2e1498c9f8a08d37e (patch)
tree1ca2e5a8f29935bf5fa647c96954719ba6ec79d2 /test
parent96dd18b1101638ddf0d38dfc3266888b225db26b (diff)
downloademacs-4a74c818809349ea30ddb5b2e1498c9f8a08d37e.tar.gz
* lisp/view.el (view--enable, view--disable): Rename from view-mode-enable
and view-mode-disable and assume it's called from view-mode. (view-mode-enable, view-mode-disable): Redefine as obsolete compatibility layer above view-mode. (view-mode-enter): Call `view-mode'. * lisp/files.el (after-find-file): Call `view-mode'.
Diffstat (limited to 'test')
-rwxr-xr-xtest/indent/shell.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/indent/shell.sh b/test/indent/shell.sh
index 6f3447c3aa9..790656501d1 100755
--- a/test/indent/shell.sh
+++ b/test/indent/shell.sh
@@ -5,6 +5,18 @@ setlock -n /tmp/getmail.lock && echo getmail isn\'t running
# adsgsdg
+case $X in
+ foo)
+ do_something
+ ;;
+ arg=*) # bug#12953
+ do_something_else_based_on_arg
+ ;;
+ *)
+ default
+ ;;
+esac
+
echo -n $(( 5 << 2 ))
# This should not be treated as a heredoc (bug#12770).
2