diff options
| author | Kenichi Handa | 2003-09-08 11:56:09 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-09-08 11:56:09 +0000 |
| commit | 463f5630a5e7cbe7f042bc1175d1fa1c4e98860f (patch) | |
| tree | 3287d0c628fea2249abf4635b3a4f45bedd6f8c4 /lisp/progmodes/sh-script.el | |
| parent | 4256310de631bd57c78b88b5131caa073315b3d7 (diff) | |
| download | emacs-463f5630a5e7cbe7f042bc1175d1fa1c4e98860f.tar.gz emacs-463f5630a5e7cbe7f042bc1175d1fa1c4e98860f.zip | |
New directory
Diffstat (limited to 'lisp/progmodes/sh-script.el')
| -rw-r--r-- | lisp/progmodes/sh-script.el | 38 |
1 files changed, 13 insertions, 25 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 28bc2eaf3e0..341a0d179e7 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -562,9 +562,8 @@ documents - you must insert literal tabs by hand.") | |||
| 562 | ;; but it *did* have an asterisk in the docstring! | 562 | ;; but it *did* have an asterisk in the docstring! |
| 563 | (defcustom sh-builtins | 563 | (defcustom sh-builtins |
| 564 | '((bash eval sh-append posix | 564 | '((bash eval sh-append posix |
| 565 | "." "alias" "bg" "bind" "builtin" "compgen" "complete" | 565 | "alias" "bg" "bind" "builtin" "declare" "dirs" "enable" "fc" "fg" |
| 566 | "declare" "dirs" "disown" "enable" "fc" "fg" "help" "history" | 566 | "help" "history" "jobs" "kill" "let" "local" "popd" "pushd" "source" |
| 567 | "jobs" "kill" "let" "local" "popd" "printf" "pushd" "source" | ||
| 568 | "suspend" "typeset" "unalias") | 567 | "suspend" "typeset" "unalias") |
| 569 | 568 | ||
| 570 | ;; The next entry is only used for defining the others | 569 | ;; The next entry is only used for defining the others |
| @@ -635,10 +634,7 @@ implemented as aliases. See `sh-feature'." | |||
| 635 | 634 | ||
| 636 | 635 | ||
| 637 | (defcustom sh-leading-keywords | 636 | (defcustom sh-leading-keywords |
| 638 | '((bash eval sh-append sh | 637 | '((csh "else") |
| 639 | "time") | ||
| 640 | |||
| 641 | (csh "else") | ||
| 642 | 638 | ||
| 643 | (es "true" "unwind-protect" "whatis") | 639 | (es "true" "unwind-protect" "whatis") |
| 644 | 640 | ||
| @@ -699,20 +695,14 @@ See `sh-feature'." | |||
| 699 | 695 | ||
| 700 | (defvar sh-variables | 696 | (defvar sh-variables |
| 701 | '((bash eval sh-append sh | 697 | '((bash eval sh-append sh |
| 702 | "allow_null_glob_expansion" "auto_resume" "BASH" "BASH_ENV" | 698 | "allow_null_glob_expansion" "auto_resume" "BASH" "BASH_VERSION" |
| 703 | "BASH_VERSINFO" "BASH_VERSION" "cdable_vars" "COMP_CWORD" | 699 | "cdable_vars" "ENV" "EUID" "FCEDIT" "FIGNORE" "glob_dot_filenames" |
| 704 | "COMP_LINE" "COMP_POINT" "COMP_WORDS" "COMPREPLY" "DIRSTACK" | 700 | "histchars" "HISTFILE" "HISTFILESIZE" "history_control" "HISTSIZE" |
| 705 | "ENV" "EUID" "FCEDIT" "FIGNORE" "FUNCNAME" | 701 | "hostname_completion_file" "HOSTTYPE" "IGNOREEOF" "ignoreeof" |
| 706 | "glob_dot_filenames" "GLOBIGNORE" "GROUPS" "histchars" | 702 | "LINENO" "MAIL_WARNING" "noclobber" "nolinks" "notify" |
| 707 | "HISTCMD" "HISTCONTROL" "HISTFILE" "HISTFILESIZE" | 703 | "no_exit_on_failed_exec" "NO_PROMPT_VARS" "OLDPWD" "OPTERR" "PPID" |
| 708 | "HISTIGNORE" "history_control" "HISTSIZE" | 704 | "PROMPT_COMMAND" "PS4" "pushd_silent" "PWD" "RANDOM" "REPLY" |
| 709 | "hostname_completion_file" "HOSTFILE" "HOSTTYPE" "IGNOREEOF" | 705 | "SECONDS" "SHLVL" "TMOUT" "UID") |
| 710 | "ignoreeof" "INPUTRC" "LINENO" "MACHTYPE" "MAIL_WARNING" | ||
| 711 | "noclobber" "nolinks" "notify" "no_exit_on_failed_exec" | ||
| 712 | "NO_PROMPT_VARS" "OLDPWD" "OPTERR" "OSTYPE" "PIPESTATUS" | ||
| 713 | "PPID" "POSIXLY_CORRECT" "PROMPT_COMMAND" "PS3" "PS4" | ||
| 714 | "pushd_silent" "PWD" "RANDOM" "REPLY" "SECONDS" "SHELLOPTS" | ||
| 715 | "SHLVL" "TIMEFORMAT" "TMOUT" "UID") | ||
| 716 | 706 | ||
| 717 | (csh eval sh-append shell | 707 | (csh eval sh-append shell |
| 718 | "argv" "cdpath" "child" "echo" "histchars" "history" "home" | 708 | "argv" "cdpath" "child" "echo" "histchars" "history" "home" |
| @@ -808,8 +798,7 @@ See `sh-feature'.") | |||
| 808 | 798 | ||
| 809 | ;; The next entry is only used for defining the others | 799 | ;; The next entry is only used for defining the others |
| 810 | (shell eval sh-append executable-font-lock-keywords | 800 | (shell eval sh-append executable-font-lock-keywords |
| 811 | ;; Using font-lock-string-face here confuses sh-get-indent-info. | 801 | '("\\\\[^A-Za-z0-9]" 0 font-lock-string-face) |
| 812 | '("\\\\[^A-Za-z0-9]" 0 font-lock-warning-face) | ||
| 813 | '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1 | 802 | '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1 |
| 814 | font-lock-variable-name-face)) | 803 | font-lock-variable-name-face)) |
| 815 | (rpm eval sh-append rpm2 | 804 | (rpm eval sh-append rpm2 |
| @@ -3214,7 +3203,7 @@ t means to return a list of all possible completions of STRING. | |||
| 3214 | process-environment) | 3203 | process-environment) |
| 3215 | sh-shell-variables)))) | 3204 | sh-shell-variables)))) |
| 3216 | (case code | 3205 | (case code |
| 3217 | ((nil) (try-completion string sh-shell-variables predicate)) | 3206 | (nil (try-completion string sh-shell-variables predicate)) |
| 3218 | (lambda (test-completion string sh-shell-variables predicate)) | 3207 | (lambda (test-completion string sh-shell-variables predicate)) |
| 3219 | (t (all-completions string sh-shell-variables predicate))))) | 3208 | (t (all-completions string sh-shell-variables predicate))))) |
| 3220 | 3209 | ||
| @@ -3544,5 +3533,4 @@ The document is bounded by `sh-here-document-word'." | |||
| 3544 | 3533 | ||
| 3545 | (provide 'sh-script) | 3534 | (provide 'sh-script) |
| 3546 | 3535 | ||
| 3547 | ;;; arch-tag: eccd8b72-f337-4fc2-ae86-18155a69d937 | ||
| 3548 | ;;; sh-script.el ends here | 3536 | ;;; sh-script.el ends here |