diff options
| author | Stefan Monnier | 2013-01-03 21:53:48 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-01-03 21:53:48 -0500 |
| commit | 4a74c818809349ea30ddb5b2e1498c9f8a08d37e (patch) | |
| tree | 1ca2e5a8f29935bf5fa647c96954719ba6ec79d2 /test | |
| parent | 96dd18b1101638ddf0d38dfc3266888b225db26b (diff) | |
| download | emacs-4a74c818809349ea30ddb5b2e1498c9f8a08d37e.tar.gz emacs-4a74c818809349ea30ddb5b2e1498c9f8a08d37e.zip | |
* 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-x | test/indent/shell.sh | 12 |
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 | |||
| 5 | 5 | ||
| 6 | # adsgsdg | 6 | # adsgsdg |
| 7 | 7 | ||
| 8 | case $X in | ||
| 9 | foo) | ||
| 10 | do_something | ||
| 11 | ;; | ||
| 12 | arg=*) # bug#12953 | ||
| 13 | do_something_else_based_on_arg | ||
| 14 | ;; | ||
| 15 | *) | ||
| 16 | default | ||
| 17 | ;; | ||
| 18 | esac | ||
| 19 | |||
| 8 | echo -n $(( 5 << 2 )) | 20 | echo -n $(( 5 << 2 )) |
| 9 | # This should not be treated as a heredoc (bug#12770). | 21 | # This should not be treated as a heredoc (bug#12770). |
| 10 | 2 | 22 | 2 |