]> git.eshelyaron.com Git - emacs.git/commitdiff
(command-line): Require whitespace delimiter when
authorRichard M. Stallman <rms@gnu.org>
Fri, 7 Aug 1998 23:25:43 +0000 (23:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 7 Aug 1998 23:25:43 +0000 (23:25 +0000)
searching locale-translation-file-name.

lisp/startup.el

index f3d4e6d5031d95a76472aa15c3e747b139b4bdde..444d156e601d00f4af50fa7aa69b5badee7f1e48 100644 (file)
@@ -509,7 +509,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
         (file-exists-p locale-translation-file-name)
         (with-temp-buffer
           (insert-file-contents locale-translation-file-name)
-          (if (re-search-forward (concat "^" ctype "[ \t]*") nil t)
+          (if (re-search-forward (concat "^" ctype "[ \t]+") nil t)
               (setq ctype (buffer-substring (point)
                                             (progn (end-of-line) (point)))))))
     ;; Now see if the locale specifies an ISO 8859 character set.