Stefan Monnier
4a74c81880
* 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'.
2013-01-03 21:53:48 -05:00
Stefan Monnier
3618df4590
* lisp/progmodes/sh-script.el (sh--inside-noncommand-expression):
...
Rename from sh--inside-arithmetic-expression, handle more cases.
Fixes: debbugs:11263
2012-10-30 23:10:25 -04:00
Stefan Monnier
b08b6da7fe
* lisp/progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
...
(sh-font-lock-open-heredoc): Use it.
Fixes: debbugs:12770
2012-10-30 22:45:34 -04:00
Stefan Monnier
d7f9cc8528
* lisp/vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
...
header comments".
(diff-unified->context, diff-context->unified)
(diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2012-10-29 11:14:10 -04:00
Stefan Monnier
efc26dbecd
* lisp/progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
...
as not-a-comment.
* test/indent/shell.sh: Add test case for ${#VAR}.
Fixes: debbugs:11946
2012-07-17 04:38:12 -04:00
Stefan Monnier
461ef3c518
Add some shell indentation test cases.
...
* test/indent/shell.sh:
* test/indent/shell.rc: Add some test cases.
2012-04-28 16:04:34 -04:00
Stefan Monnier
ccded26c1e
* lisp/progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
...
of here-doc that immediately follows a comment.
* .bzrignore: Ignore globals.h and related stamp.
* test/indent/shell.sh:
* test/indent/shell.rc: New files.
2011-02-09 13:59:55 -05:00