emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/sml-mode 4ba89ca 08/45: * sml-mode.el (inferior-sml-mod


From: Stefan Monnier
Subject: [elpa] externals/sml-mode 4ba89ca 08/45: * sml-mode.el (inferior-sml-mode): Fix comint-completion-addsuffix.
Date: Tue, 1 Dec 2020 10:01:37 -0500 (EST)

branch: externals/sml-mode
commit 4ba89ca031cf72d6b06990bff3555e37822d0a63
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * sml-mode.el (inferior-sml-mode): Fix comint-completion-addsuffix.
---
 sml-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sml-mode.el b/sml-mode.el
index e1ee75b..3fa0966 100644
--- a/sml-mode.el
+++ b/sml-mode.el
@@ -1,6 +1,6 @@
 ;;; sml-mode.el --- Major mode for editing (Standard) ML  -*- lexical-binding: 
t; coding: utf-8 -*-
 
-;; Copyright (C) 1989,1999,2000,2004,2007,2010-2012  Free Software Foundation, 
Inc.
+;; Copyright (C) 1989,1999,2000,2004,2007,2010-2013  Free Software Foundation, 
Inc.
 
 ;; Maintainer: (Stefan Monnier) <monnier@iro.umontreal.ca>
 ;; Version: 6.2
@@ -1201,7 +1201,7 @@ TAB file name completion, as in shell-mode, etc.."
   (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]