emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/regexp-opt.el,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/regexp-opt.el,v
Date: Wed, 09 Apr 2008 04:29:44 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/04/09 04:29:43

Index: regexp-opt.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/emacs-lisp/regexp-opt.el,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- regexp-opt.el       1 Feb 2008 16:01:25 -0000       1.37
+++ regexp-opt.el       9 Apr 2008 04:29:43 -0000       1.38
@@ -226,7 +226,7 @@
 
              ;; Otherwise, divide the list into those that start with a
              ;; particular letter and those that do not, and recurse on them.
-             (let* ((char (char-to-string (string-to-char (car strings))))
+             (let* ((char (substring-no-properties (car strings) 0 1))
                     (half1 (all-completions char strings))
                     (half2 (nthcdr (length half1) strings)))
                (concat open-group




reply via email to

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