We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a11721 + 6fc110d commit 12a45d1Copy full SHA for 12a45d1
haskell-process.el
@@ -306,10 +306,11 @@ Returns NIL when no completions found."
306
(h0 (car s1))) ;; "<limit count> <all count> <unused string>"
307
(unless (string-match "\\`\\([0-9]+\\) \\([0-9]+\\) \\(\".*\"\\)\\'" h0)
308
(error "Invalid `:complete' response"))
309
- (let ((cnt1 (match-string 1 h0)))
+ (let ((cnt1 (match-string 1 h0))
310
+ (h1 (haskell-string-literal-decode (match-string 3 h0))))
311
(unless (= (string-to-number cnt1) (length cs))
312
(error "Lengths inconsistent in `:complete' reponse"))
- cs)))))
313
+ (cons h1 cs))))))
314
315
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
316
;; Accessing the process
0 commit comments