projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c8627
)
* lisp/ruler-mode.el (ruler-mode-ruler): Document problem.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 27 Jul 2017 04:07:17 +0000
(
00:07
-0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 27 Jul 2017 04:07:17 +0000
(
00:07
-0400)
lisp/ruler-mode.el
patch
|
blob
|
history
diff --git
a/lisp/ruler-mode.el
b/lisp/ruler-mode.el
index 7b0588dfead16ec267d5aa7cced00115acc4f89b..fdfd5c61be9360a264bf2b9fda704e10a1adafd7 100644
(file)
--- a/
lisp/ruler-mode.el
+++ b/
lisp/ruler-mode.el
@@
-696,6
+696,10
@@
Optional argument PROPS specifies other text properties to apply."
;; Create an "clean" ruler.
(ruler
(propertize
+ ;; FIXME: `make-string' returns a unibyte string if it's ASCII-only,
+ ;; which prevents further `aset' from inserting non-ASCII chars,
+ ;; hence the need for `string-to-multibyte'.
+ ;; http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00841.html
(string-to-multibyte
(make-string w ruler-mode-basic-graduation-char))
'face 'ruler-mode-default