Skip to content

Commit

Permalink
replace pcase by cl-case [GH-420]
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarcasm committed Aug 28, 2017
1 parent 9d7df3a commit 9950212
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions irony-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ that can be validly accessed are deemed not-accessible."
:start (lambda (prefix style)
(irony--server-send-command
"candidates" prefix
(pcase style
('case-insensitive "case-insensitive")
('smart-case "smart-case")
(other "exact"))))
(cl-case style
(case-insensitive "case-insensitive")
(smart-case "smart-case")
(t "exact"))))
:update irony--server-query-update)

(defun irony--candidates-task (&optional buffer pos prefix style)
Expand Down

0 comments on commit 9950212

Please sign in to comment.