------------------------------------------------------------
revno: 339
fixes bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13497
committer: Stefan Monnier <monn...@iro.umontreal.ca>
branch nick: elpa
timestamp: Thu 2013-01-24 13:52:55 -0500
message:
  * sml-mode.el (inferior-sml-mode): Fix comint-completion-addsuffix.
modified:
  packages/sml-mode/sml-mode.el
=== modified file 'packages/sml-mode/sml-mode.el'
--- a/packages/sml-mode/sml-mode.el     2012-12-04 17:41:08 +0000
+++ b/packages/sml-mode/sml-mode.el     2013-01-24 18:52:55 +0000
@@ -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) <monn...@iro.umontreal.ca>
 ;; Version: 6.2
@@ -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