mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
(list-faces-display): Line up multiple lines in sample.
This commit is contained in:
parent
07ac942ac6
commit
23b04eac8c
@ -729,7 +729,13 @@ selected frame."
|
||||
(let ((beg (point)))
|
||||
(insert list-faces-sample-text)
|
||||
(insert "\n")
|
||||
(put-text-property beg (1- (point)) 'face face)))
|
||||
(put-text-property beg (1- (point)) 'face face)
|
||||
;; If the sample text has multiple lines, line up all of them.
|
||||
(goto-char beg)
|
||||
(forward-line 1)
|
||||
(while (not (eobp))
|
||||
(insert " ")
|
||||
(forward-line 1))))
|
||||
(goto-char (point-min))))
|
||||
;; If the *Faces* buffer appears in a different frame,
|
||||
;; copy all the face definitions from FRAME,
|
||||
|
Loading…
Reference in New Issue
Block a user