From 072c01f5f52e5c0c92821ff9dda4c6278a1d7d48 Mon Sep 17 00:00:00 2001 From: smile13241324 Date: Thu, 18 Apr 2019 18:58:40 +0200 Subject: [PATCH] Fix binding for "capitalize keywords" in sql-layer Noticed a new warning during startup saying that sqlup-mode is using "=c" where "=" is no prefix key. Noticed that the entire binding was not carried out in this case. Therefore I have removed "=" from the binding but left it on "c" until enough text manipulations are available, then it should be moved to "x text manipulation" group instead. --- layers/+lang/sql/packages.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layers/+lang/sql/packages.el b/layers/+lang/sql/packages.el index 180a5fb5c..6f920ea36 100644 --- a/layers/+lang/sql/packages.el +++ b/layers/+lang/sql/packages.el @@ -34,9 +34,9 @@ :config (progn (setq - ;; should not set this to anything else than nil - ;; the focus of SQLi is handled by spacemacs conventions - sql-pop-to-buffer-after-send-region nil) + ;; should not set this to anything else than nil + ;; the focus of SQLi is handled by spacemacs conventions + sql-pop-to-buffer-after-send-region nil) (advice-add 'sql-add-product :after #'spacemacs/sql-populate-products-list) (advice-add 'sql-del-product :after #'spacemacs/sql-populate-products-list) (spacemacs/sql-populate-products-list) @@ -157,7 +157,7 @@ (unless sql-capitalize-keywords-disable-interactive (add-hook 'sql-interactive-mode-hook 'sqlup-mode)) (spacemacs/set-leader-keys-for-major-mode 'sql-mode - "=c" 'sqlup-capitalize-keywords-in-region)) + "c" 'sqlup-capitalize-keywords-in-region)) :config (progn (spacemacs|hide-lighter sqlup-mode)