diff options
author | Daniel Colascione <dancol@dancol.org> | 2014-05-20 18:54:33 -0700 |
---|---|---|
committer | Daniel Colascione <dancol@dancol.org> | 2014-05-20 18:54:33 -0700 |
commit | 708374c7bc07fd778126e43daea2651ca66a893c (patch) | |
tree | eb1506d41a0c22cd47ffe1cee2e2b7c311ee7375 /lisp/emacs-lisp/edebug.el | |
parent | a05affb23880007ad0b00acb7e9a37c2988703d0 (diff) | |
download | emacs-708374c7bc07fd778126e43daea2651ca66a893c.tar.gz emacs-708374c7bc07fd778126e43daea2651ca66a893c.tar.bz2 emacs-708374c7bc07fd778126e43daea2651ca66a893c.zip |
File-local-variable support for sh-script; add mksh support
* lisp/files.el (interpreter-mode-alist): Add mksh.
* lisp/progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
derivative.
(sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
mksh. Improve custom spec; allow regular expressions.
(sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
(sh-after-hack-local-variables): New function.
(sh-mode): Use it; respect file-local `sh-shell' variable.
(sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
the normalization.
(sh-canonicalize-shell): Rewrite to support regexes.
Fixes: debbugs:17333
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
0 files changed, 0 insertions, 0 deletions