* lisp/progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 6 Dec 2012 17:29:30 +0000 (12:29 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 6 Dec 2012 17:29:30 +0000 (12:29 -0500)
commit93852cb0cf22a38d75edeb840e498b3aa6a4d7c9
treef1ab538b6cf3c93241a385104c3bdf246b52e2b9
parent853c1ffc037f4adc402bea59e3beb03860e63ff7
* lisp/progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
(sql-signum): Remove.  Use `cl-signum' instead.
(sql-read-passwd): Remove; use read-passwd instread.
(sql-get-login-ext): Use read-string.
(sql-get-login): Use dolist and pcase.
(sql--completion-table): Rename from sql-try-completion.
Use complete-with-action.
(sql-mode): Don't change abbrev-all-caps globally.
(sql-connect): Don't rely on dynamic scoping for `new-name'.
(sql-postgres-completion-object): Initialize vars in their `let'.
(sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
(sql-comint-solid, sql-comint-ms, sql-comint-postgres)
(sql-comint-interbase): Use a single append, without setq.
(sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
lisp/ChangeLog
lisp/progmodes/sql.el