Skip to content

Commit

Permalink
Fix ejc-get-ansi-sql-words fn merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
kostafey committed Nov 13, 2018
1 parent 2d16f9c commit 9eef50a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions ejc-autocomplete.el
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,11 @@ Uppercase by default, set to nil to use downcase candidates."

(defun ejc-get-ansi-sql-words ()
(unless (or (ejc-return-point) (ejc-get-prefix-word))
(progn
(if ejc-candidates-uppercase
(append (mapcar 'upcase ejc-ansi-sql-words)
(mapcar 'upcase ejc-auxulary-sql-words))
(append ejc-ansi-sql-words
ejc-auxulary-sql-words)))
nil))
(if ejc-candidates-uppercase
(append (mapcar 'upcase ejc-ansi-sql-words)
(mapcar 'upcase ejc-auxulary-sql-words))
(append ejc-ansi-sql-words
ejc-auxulary-sql-words))))

(defun ac-ejc-documentation (symbol-name)
"Return a documentation string for SYMBOL-NAME."
Expand Down

0 comments on commit 9eef50a

Please sign in to comment.