From: Lars Ingebrigtsen Date: Mon, 13 Sep 2021 07:39:45 +0000 (+0200) Subject: Fix detection of char regions in print-fontset-element X-Git-Tag: emacs-28.0.90~1022 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=173c2ea8a39fbc10533c3fb390f66af302b23977;p=emacs.git Fix detection of char regions in print-fontset-element * lisp/international/mule-diag.el (print-fontset-element): Fix the regexp for "foo .. bar " (bug#50519). --- diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index 864cd3ce01e..862c577bd5d 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el @@ -882,7 +882,7 @@ The IGNORED argument is ignored." ;; the current line. (beginning-of-line) (let ((from (mule--kbd-at (point))) - (to (if (looking-at "[^.]*[.]* ") + (to (if (looking-at "[^.]+[.][.] ") (mule--kbd-at (match-end 0))))) (if (re-search-forward "[ \t]*$" nil t) (delete-region (match-beginning 0) (match-end 0)))