1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

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).
This commit is contained in:
Lars Ingebrigtsen 2021-09-13 09:39:45 +02:00
parent c1a1339526
commit 173c2ea8a3

View 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)))