Commit bd2d43dc authored by Glenn Morris's avatar Glenn Morris
Browse files

Recognize dash shell

* lisp/files.el (interpreter-mode-alist):
* lisp/progmodes/sh-script.el (sh-ancestor-alist): Add dash.

Fixes: debbugs:16938
parent 6952100d
2014-03-05 Glenn Morris <rgm@gnu.org>
* files.el (interpreter-mode-alist):
* progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2014-03-05 Juanma Barranquero <lekktu@gmail.com>
* frameset.el (frameset--initial-params): Filter out null entries.
......
......@@ -2517,6 +2517,7 @@ and `magic-mode-alist', which determines modes based on file contents.")
("scm" . scheme-mode)
("[acjkwz]sh" . sh-mode)
("r?bash2?" . sh-mode)
("dash" . sh-mode)
("\\(dt\\|pd\\|w\\)ksh" . sh-mode)
("es" . sh-mode)
("i?tcsh" . sh-mode)
......
;;; sh-script.el --- shell-script editing commands for Emacs -*- lexical-binding:t -*-
;; Copyright (C) 1993-1997, 1999, 2001-2014 Free Software Foundation,
;; Inc.
;; Copyright (C) 1993-1997, 1999, 2001-2014 Free Software Foundation, Inc.
;; Author: Daniel Pfeiffer <occitan@esperanto.org>
;; Version: 2.0f
......@@ -228,6 +227,7 @@
'((ash . sh)
(bash . jsh)
(bash2 . jsh)
(dash . ash)
(dtksh . ksh)
(es . rc)
(itcsh . tcsh)
......@@ -255,6 +255,7 @@ rc Plan 9 Shell
es Extensible Shell
sh Bourne Shell
ash Almquist Shell
dash Debian Almquist Shell
jsh Bourne Shell with Job Control
bash GNU Bourne Again Shell
ksh88 Korn Shell '88
......@@ -267,6 +268,7 @@ sh Bourne Shell
posix IEEE 1003.2 Shell Standard
wsh ? Shell"
:type '(repeat (cons symbol symbol))
:version "24.4" ; added dash
:group 'sh-script)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment