From a2cb2ff4217f955f1cfbc836927f8a9f8f57b9eb Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 25 Mar 2022 20:22:17 +0000 Subject: [PATCH] el/dot-emacs.el: Fix configuration for SQL mode. --- el/dot-emacs.el | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.11.0