diff options
| author | Alan Mackenzie | 2017-02-18 12:38:29 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2017-02-18 12:38:29 +0000 |
| commit | a848d36c578cb849a283d72edbd69d1b955350f9 (patch) | |
| tree | a0c021ea7fe20c0c8d2eef607a0d474b7fd4ecf2 | |
| parent | 879a3e445fa13c9624558515c8189dae634d91a1 (diff) | |
| download | emacs-a848d36c578cb849a283d72edbd69d1b955350f9.tar.gz emacs-a848d36c578cb849a283d72edbd69d1b955350f9.zip | |
Set the syntax table in AWK Mode.
This is a partial reversion of CC Mode commit on 2016-05-09 17:49:45 +0000.
It fixes bug #25722.
lisp/progmodes/cc-mode.el (awk-mode): Explicitly set the syntax table.
| -rw-r--r-- | lisp/progmodes/cc-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index e2969c607a5..8326e6a6f29 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -2036,6 +2036,7 @@ Key bindings: | |||
| 2036 | :syntax-table nil | 2036 | :syntax-table nil |
| 2037 | (require 'cc-awk) ; Added 2003/6/10. | 2037 | (require 'cc-awk) ; Added 2003/6/10. |
| 2038 | (c-initialize-cc-mode t) | 2038 | (c-initialize-cc-mode t) |
| 2039 | (set-syntax-table awk-mode-syntax-table) | ||
| 2039 | (setq abbrev-mode t) | 2040 | (setq abbrev-mode t) |
| 2040 | (c-init-language-vars-for 'awk-mode) | 2041 | (c-init-language-vars-for 'awk-mode) |
| 2041 | (c-common-init 'awk-mode) | 2042 | (c-common-init 'awk-mode) |