From: Mark Wooding Date: Fri, 25 Mar 2022 20:22:17 +0000 (+0000) Subject: el/dot-emacs.el: Fix configuration for SQL mode. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/a2cb2ff4217f955f1cfbc836927f8a9f8f57b9eb el/dot-emacs.el: Fix configuration for SQL mode. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index a4bf3b3..bc512b4 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -5099,6 +5099,15 @@ there is sadness." (set-window-dedicated-p (or window (selected-window)) nil)) ;;;-------------------------------------------------------------------------- +;;; SQL stuff. + +(setq sql-postgres-options '("-n" "-P" "pager=off") + sql-postgres-login-params + '((user :default "mdw") + (database :default "mdw") + (server :default "db.distorted.org.uk"))) + +;;;-------------------------------------------------------------------------- ;;; Man pages. ;; Turn off `noip' when running `man': it interferes with `man-db''s own