bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stefan Monnier
Subject: bug#13497: [PATCH] 24.2.91; comint file-name completion bug in inferior-sml-mode
Date: Thu, 24 Jan 2013 13:53:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> │   ;; 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)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]