diff --git a/init.org b/init.org index f7b0748..5a6c3da 100644 --- a/init.org +++ b/init.org @@ -5081,6 +5081,17 @@ nicked from wasamasa's init - https://github.com/wasamasa/dotemacs/blob/934d0b37 ;; (set-face-attribute 'default nil :font "-outline-Bitstream Vera Sans Mono-normal-normal-normal-mono-12-*-*-*-c-*-iso8859-1") #+END_SRC +** SQL +#+BEGIN_SRC emacs-lisp +(use-package sql + ;; History is not saved if you kill the buffer; use + ;; `comint-quit-subjob' or `comint-kill-subjob' to do so + :hook + (sql-interactive-mode . (lambda () + (setq-local sql-input-ring-file-name + (locate-user-emacs-file "sql-input-ring"))))) +#+END_SRC + * The end Reset the GC settings, so Emacs doesn't use up tons of RAM. #+BEGIN_SRC emacs-lisp