* eldoc-box.el (eldoc-box--replace-en-space): Use face-remap instead.
This commit is contained in:
parent
9bf84905e9
commit
17b86a8acd
@ -630,11 +630,8 @@ childframe."
|
|||||||
:height 0.4)))))))
|
:height 0.4)))))))
|
||||||
|
|
||||||
(defun eldoc-box--replace-en-space ()
|
(defun eldoc-box--replace-en-space ()
|
||||||
"Replace the en spaces in documentation with regular spaces."
|
"Display the en spaces in documentation as regular spaces."
|
||||||
(save-excursion
|
(face-remap-set-base 'nobreak-space '(:inherit default)))
|
||||||
(goto-char (point-min))
|
|
||||||
(while (search-forward " " nil t)
|
|
||||||
(replace-match " "))))
|
|
||||||
|
|
||||||
(defun eldoc-box--condense-large-newline-gaps ()
|
(defun eldoc-box--condense-large-newline-gaps ()
|
||||||
"Condense exceedingly large gaps made of consecutive newlines.
|
"Condense exceedingly large gaps made of consecutive newlines.
|
||||||
|
Loading…
Reference in New Issue
Block a user