]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix defcustom type in sql.el for sql-postgres-login-params
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 25 Sep 2020 13:42:35 +0000 (15:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 25 Sep 2020 13:42:35 +0000 (15:42 +0200)
* lisp/progmodes/sql.el (sql-login-params): Fix defcustom type to
match sql-postgres-login-params value.

lisp/progmodes/sql.el

index 814a1ad8a3a9d033f905ca7c22fcafa0ebc1ce14..c31c5ddd87ea0926098199ff97d05fc0e10f3bc6 100644 (file)
@@ -342,8 +342,7 @@ file.  Since that is a plaintext file, this could be dangerous."
                             (const :format "" :completion)
                             (sexp :tag ":completion")
                             (const :format "" :must-match)
-                            (restricted-sexp
-                             :match-alternatives (listp stringp))))
+                            (symbol :tag ":must-match")))
               (const port)))
 
 ;; SQL Product support