branch: externals/sql-indent
commit aa3bdcef879d7d1638e48305e90844e824690ede
Author: Alex Harsanyi <[email protected]>
Commit: Alex Harsanyi <[email protected]>

    Fix example in documentation
---
 sql-indent.org | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sql-indent.org b/sql-indent.org
index d50076d..e268dfe 100644
--- a/sql-indent.org
+++ b/sql-indent.org
@@ -140,13 +140,13 @@ only a few symbols need to be updated, the usual way to 
update it is to
 
 #+BEGIN_SRC emacs-lisp
   (defvar my-sql-indentation-offsets-alist
-    '( ;; put new syntactic symbols here, and add the default ones at the end.
+    `( ;; put new syntactic symbols here, and add the default ones at the end.
        ;; If there is no value specified for a syntactic symbol, the default
        ;; will be picked up.
       ,@sqlind-default-indentation-offsets-alist))
 
   ;; Arrange for the new indentation offset to be set up for each SQL buffer.
-  (add-hook 'sql-mode-hook
+  (add-hook 'sqlind-minor-mode-hook
             (lambda ()
               (setq sqlind-indentation-offsets-alist
                     my-sql-indentation-offsets-alist)))

Reply via email to