* lisp/progmodes/sql.el (sql-electric-stuff): Use :initialize and :set arguments to control presence of 'sql-magic-go' in 'post-self-insert-hook'. (sql-interactive-mode-map): Remove key bindings for 'sql-magic-go'. (sql-magic-go): Reimplement as a non-interactive function restricted to 'sql-interactive-mode' and instead of using 'self-insert-command' check value of 'last-command-event'.
225 KiB
225 KiB