What steps will reproduce the problem?
1. Type ac into a js2-mode buffer.
2. Invoke inverse-add-mode-abbrev interactively.
3. Type appendChild and press enter.
4. Write the abbrevs file via write-abbrev-file
5. Notice the abbreviation for "ac" in ~/.abbrev_defs
What is the expected output? What do you see instead?
Should be under js2-mode-abbrev-table, which isn't defined. Instead, shows
up in fundamental-mode, which is not desired.
Please provide any additional information below.
Most major modes defvar a table and setq it in the *-mode() function, e.g.
(defvar js2-mode-abbrev-table nil
"Abbrev table in use in `js2-mode' buffers.")
(define-abbrev-table 'js2-mode-abbrev-table ())
(defun js2-mode ()
...
(setq local-abbrev-table js2-mode-abbrev-table))
Original issue reported on code.google.com by dereksla...@gmail.com on 15 Apr 2008 at 6:33
Original issue reported on code.google.com by
dereksla...@gmail.com
on 15 Apr 2008 at 6:33