]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix detection of char regions in print-fontset-element
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 13 Sep 2021 07:39:45 +0000 (09:39 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 13 Sep 2021 07:39:45 +0000 (09:39 +0200)
* lisp/international/mule-diag.el (print-fontset-element): Fix the
regexp for "foo .. bar " (bug#50519).

lisp/international/mule-diag.el

index 864cd3ce01e5de287c9770749ff8e9b55cd197ef..862c577bd5de5f356a13ee145b3f4b60091384c7 100644 (file)
@@ -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)))