aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/files.el1
-rw-r--r--lisp/progmodes/sh-script.el6
3 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 73ced85d796..0ccc3f7efa1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-03-05 Glenn Morris <rgm@gnu.org>
2
3 * files.el (interpreter-mode-alist):
4 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
5
12014-03-05 Juanma Barranquero <lekktu@gmail.com> 62014-03-05 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * frameset.el (frameset--initial-params): Filter out null entries. 8 * frameset.el (frameset--initial-params): Filter out null entries.
diff --git a/lisp/files.el b/lisp/files.el
index 8304dccf440..6f930aa492f 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2517,6 +2517,7 @@ and `magic-mode-alist', which determines modes based on file contents.")
2517 ("scm" . scheme-mode) 2517 ("scm" . scheme-mode)
2518 ("[acjkwz]sh" . sh-mode) 2518 ("[acjkwz]sh" . sh-mode)
2519 ("r?bash2?" . sh-mode) 2519 ("r?bash2?" . sh-mode)
2520 ("dash" . sh-mode)
2520 ("\\(dt\\|pd\\|w\\)ksh" . sh-mode) 2521 ("\\(dt\\|pd\\|w\\)ksh" . sh-mode)
2521 ("es" . sh-mode) 2522 ("es" . sh-mode)
2522 ("i?tcsh" . sh-mode) 2523 ("i?tcsh" . sh-mode)
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 7c677df8592..84b0c8b1af4 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1,7 +1,6 @@
1;;; sh-script.el --- shell-script editing commands for Emacs -*- lexical-binding:t -*- 1;;; sh-script.el --- shell-script editing commands for Emacs -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 1993-1997, 1999, 2001-2014 Free Software Foundation, 3;; Copyright (C) 1993-1997, 1999, 2001-2014 Free Software Foundation, Inc.
4;; Inc.
5 4
6;; Author: Daniel Pfeiffer <occitan@esperanto.org> 5;; Author: Daniel Pfeiffer <occitan@esperanto.org>
7;; Version: 2.0f 6;; Version: 2.0f
@@ -228,6 +227,7 @@
228 '((ash . sh) 227 '((ash . sh)
229 (bash . jsh) 228 (bash . jsh)
230 (bash2 . jsh) 229 (bash2 . jsh)
230 (dash . ash)
231 (dtksh . ksh) 231 (dtksh . ksh)
232 (es . rc) 232 (es . rc)
233 (itcsh . tcsh) 233 (itcsh . tcsh)
@@ -255,6 +255,7 @@ rc Plan 9 Shell
255 es Extensible Shell 255 es Extensible Shell
256sh Bourne Shell 256sh Bourne Shell
257 ash Almquist Shell 257 ash Almquist Shell
258 dash Debian Almquist Shell
258 jsh Bourne Shell with Job Control 259 jsh Bourne Shell with Job Control
259 bash GNU Bourne Again Shell 260 bash GNU Bourne Again Shell
260 ksh88 Korn Shell '88 261 ksh88 Korn Shell '88
@@ -267,6 +268,7 @@ sh Bourne Shell
267 posix IEEE 1003.2 Shell Standard 268 posix IEEE 1003.2 Shell Standard
268 wsh ? Shell" 269 wsh ? Shell"
269 :type '(repeat (cons symbol symbol)) 270 :type '(repeat (cons symbol symbol))
271 :version "24.4" ; added dash
270 :group 'sh-script) 272 :group 'sh-script)
271 273
272 274