* lisp/progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.

This commit is contained in:
Glenn Morris 2013-08-28 21:02:46 -04:00
parent 397440a1b6
commit cc585c965a
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2013-08-29 Glenn Morris <rgm@gnu.org>
* progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2013-08-28 Glenn Morris <rgm@gnu.org>
* progmodes/antlr-mode.el: No need to require cc-mode twice.

View file

@ -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 <occitan@esperanto.org>
;; 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)