From: Glenn Morris Date: Thu, 29 Aug 2013 01:02:46 +0000 (-0400) Subject: * lisp/progmodes/sh-script.el (sh-builtins) : Add some bash4-isms. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1686^2~67 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc585c965a8549af7c3cc224adbee4bc8ae1e9ec;p=emacs.git * lisp/progmodes/sh-script.el (sh-builtins) : Add some bash4-isms. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 616f9044f78..817476fb1c4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-08-29 Glenn Morris + + * progmodes/sh-script.el (sh-builtins) : Add some bash4-isms. + 2013-08-28 Glenn Morris * progmodes/antlr-mode.el: No need to require cc-mode twice. diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index c8b65e0a029..292bc2369a6 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -1,7 +1,6 @@ ;;; sh-script.el --- shell-script editing commands for Emacs -;; Copyright (C) 1993-1997, 1999, 2001-2013 Free Software Foundation, -;; Inc. +;; Copyright (C) 1993-1997, 1999, 2001-2013 Free Software Foundation, Inc. ;; Author: Daniel Pfeiffer ;; Version: 2.0f @@ -673,7 +672,9 @@ removed when closing the here document." "." "alias" "bg" "bind" "builtin" "caller" "compgen" "complete" "declare" "dirs" "disown" "enable" "fc" "fg" "help" "history" "jobs" "kill" "let" "local" "popd" "printf" "pushd" "shopt" - "source" "suspend" "typeset" "unalias") + "source" "suspend" "typeset" "unalias" + ;; bash4 + "mapfile" "readarray") ;; The next entry is only used for defining the others (bourne sh-append shell @@ -737,6 +738,7 @@ implemented as aliases. See `sh-feature'." :type '(repeat (cons (symbol :tag "Shell") (choice (repeat string) (sexp :format "Evaluate: %v")))) + :version "24.4" ; bash4 additions :group 'sh-script)