From: Richard M. Stallman Date: Fri, 7 Aug 1998 23:25:43 +0000 (+0000) Subject: (command-line): Require whitespace delimiter when X-Git-Tag: emacs-20.3~142 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=08e77a49f7d87b2aa52c8226f11e7f7650e40c49;p=emacs.git (command-line): Require whitespace delimiter when searching locale-translation-file-name. --- diff --git a/lisp/startup.el b/lisp/startup.el index f3d4e6d5031..444d156e601 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -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.