Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8a0d0722
Commit
8a0d0722
authored
Aug 16, 2004
by
Richard M. Stallman
Browse files
(sh-set-shell): Use sh-mode-abbrev-table.
(sh-mode-abbrev-table): New variable.
parent
8ff2ed52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
lisp/progmodes/sh-script.el
lisp/progmodes/sh-script.el
+6
-1
No files found.
lisp/progmodes/sh-script.el
View file @
8a0d0722
...
...
@@ -353,6 +353,11 @@ the car and cdr are the same symbol.")
(
defvar
sh-shell
(
sh-canonicalize-shell
(
file-name-nondirectory
sh-shell-file
))
"The shell being programmed. This is set by \\[sh-set-shell]."
)
(
defvar
sh-mode-abbrev-table
nil
)
(
define-abbrev-table
'sh-mode-abbrev-table
())
;; I turned off this feature because it doesn't permit typing commands
;; in the usual way without help.
;;(defvar sh-abbrevs
...
...
@@ -1483,7 +1488,7 @@ Calls the value of `sh-set-shell-hook' if set."
(setq require-final-newline tem)))
(setq
comment-start-skip "#+[\t ]*"
;;;
local-abbrev-table
(
sh-
feature sh
-abbrev
s)
local-abbrev-table sh-
mode
-abbrev
-table
mode-line-process (format "[%s]" sh-shell)
sh-shell-variables nil
sh-shell-variables-initialized nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment