From: Lars Ingebrigtsen Date: Wed, 1 Dec 2021 15:48:06 +0000 (+0100) Subject: Fix update-glyphless-char-display variable setting X-Git-Tag: emacs-29.0.90~3630^2~15 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8959b1343b4ba20a7f58a5bec23d703d0cae1ddb;p=emacs.git Fix update-glyphless-char-display variable setting * lisp/international/characters.el (update-glyphless-char-display): Only set the variable if given. --- diff --git a/lisp/international/characters.el b/lisp/international/characters.el index 3a8e968c34b..9e0cc88d804 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el @@ -1522,7 +1522,7 @@ Setup `char-width-table' appropriate for non-CJK language environment." This function updates the char-table `glyphless-char-display', and is intended to be used in the `:set' attribute of the option `glyphless-char-display'." - (when value + (when variable (set-default variable value)) (dolist (elt value) (let ((target (car elt))