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
0a6b9622
Commit
0a6b9622
authored
Sep 09, 2011
by
Alan Mackenzie
Browse files
progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
spuriously generating `awk-mode-syntax-table'. (Bug #9448).
parent
14a29deb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/cc-mode.el
lisp/progmodes/cc-mode.el
+4
-0
No files found.
lisp/ChangeLog
View file @
0a6b9622
2011-09-09 Alan Mackenzie <acm@muc.de>
* progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2011-09-09 Eli Zaretskii <eliz@gnu.org>
Fix for Savannah bug#9392.
...
...
lisp/progmodes/cc-mode.el
View file @
0a6b9622
...
...
@@ -1545,6 +1545,10 @@ initialization, then `awk-mode-hook'.
Key bindings:
\\{awk-mode-map}"
;; We need the next line to stop the macro defining
;; `awk-mode-syntax-table'. This would mask the real table which is
;; declared in cc-awk.el and hasn't yet been loaded.
:syntax-table
nil
(
require
'cc-awk
)
; Added 2003/6/10.
(
c-initialize-cc-mode
t
)
(
set-syntax-table
awk-mode-syntax-table
)
...
...
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