Subject: bug#13497: [PATCH] 24.2.91; comint file-name completion bug in inferior-sml-mode

From: Stefan Monnier <[email-masked]>
Date: Thu, 24 Jan 2013 13:53:40 -0500

>> │   ;; Make TAB add a " rather than a space at the end of a file name.
>> │   (set (make-local-variable 'comint-completion-addsuffix) '(?/ . ?\"))
> comint-completion-addsuffix has never supported that setting.

Indeed, I have no idea where I got that from.
The patch below should fix it,

        Stefan

=== modified file 'packages/sml-mode/sml-mode.el'
--- packages/sml-mode/sml-mode.el	2012-12-04 17:41:08 +0000
+++ packages/sml-mode/sml-mode.el	2013-01-24 18:50:08 +0000
@@ -1201,7 +1201,7 @@
   (add-hook 'next-error-hook 'inferior-sml-next-error-hook)
 
   ;; Make TAB add a " rather than a space at the end of a file name.
-  (set (make-local-variable 'comint-completion-addsuffix) '(?/ . ?\"))
+  (set (make-local-variable 'comint-completion-addsuffix) '("/" . "\""))
 
   (set (make-local-variable 'font-lock-defaults)
        inferior-sml-font-lock-defaults)