chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bc61033
)
el/dot-emacs.el: Fix configuration for SQL mode.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 25 Mar 2022 20:22:17 +0000
(20:22 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 25 Mar 2022 20:22:21 +0000
(20:22 +0000)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index a4bf3b38bdc5b5608bf07f126583d86bc3eef8da..bc512b4710f4cc428964c32caa9aef563d6a5a41 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-5098,6
+5098,15
@@
(defadvice gdb-set-window-buffer
"Don't make windows dedicated. Seriously."
(set-window-dedicated-p (or window (selected-window)) nil))
"Don't make windows dedicated. Seriously."
(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.
;;;--------------------------------------------------------------------------
;;; Man pages.