projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbb0b5d
)
* lisp/mpc.el (mpc-format): Fix printing after last format spec.
author
Stefan Kangas
<stefan@marxist.se>
Wed, 29 Sep 2021 04:54:52 +0000
(06:54 +0200)
committer
Stefan Kangas
<stefan@marxist.se>
Wed, 29 Sep 2021 04:57:28 +0000
(06:57 +0200)
lisp/mpc.el
patch
|
blob
|
history
diff --git
a/lisp/mpc.el
b/lisp/mpc.el
index 1f4cb4fe9cddaa77b5cf03e8907032a0b03a063e..494a4b9d88870d5abe6c5d0403d024d65c1e87aa 100644
(file)
--- a/
lisp/mpc.el
+++ b/
lisp/mpc.el
@@
-1111,6
+1111,9
@@
If PLAYLIST is t or nil or missing, use the main playlist."
(if (null size) (setq col (+ col textwidth postwidth))
(insert space)
(setq col (+ col size))))))
+ ;; Print the rest of format-spec, in case there is text after the
+ ;; last actual format specifier.
+ (insert (substring format-spec pos))
(put-text-property start (point) 'mpc--uptodate-p pred)))
;;; The actual UI code ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;