summaryrefslogtreecommitdiff
path: root/lisp/ruler-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2017-07-27 00:07:17 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2017-07-27 00:07:17 -0400
commit9c00d63d1a12894e49671a8884c1c0dbdeef961e (patch)
treec019b91756d7c34cfb61b31cceb15d310cbe5a5a /lisp/ruler-mode.el
parent86c862767dbb501d27878efdb9f2664ccdd5cc4e (diff)
downloademacs-9c00d63d1a12894e49671a8884c1c0dbdeef961e.tar.gz
* lisp/ruler-mode.el (ruler-mode-ruler): Document problem.
Diffstat (limited to 'lisp/ruler-mode.el')
-rw-r--r--lisp/ruler-mode.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ruler-mode.el b/lisp/ruler-mode.el
index 7b0588dfead..fdfd5c61be9 100644
--- 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