This sets sqlup-local-keywords-regexps to nil after sql product is changed. Since sql-mode does not provide any hook that are run after changing the sql product, we need to advice sql-set-product to invalidate the cache. Old advice system (defadvice) is used instead of the new mechanism (advice-add) which available only in Emacs 24.4 and higher does would fail on old Emacs.
This sets
sqlup-local-keywords-regexps
tonil
after sql product is changed. Since sql-mode does not provide any hook that are run after changing the sql product, we need to advicesql-set-product
to invalidate the cache. Old advice system (defadvice
) is used instead of the new mechanism (advice-add
) which available only in Emacs 24.4 and higher does would fail on old Emacs.Fixes #33