aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/unicode-tokens.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2008-01-30 13:14:09 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2008-01-30 13:14:09 +0000
commitd18da841f17ab547eb7df528c98876af4f6ab03a (patch)
treebba7d06ef6838b22469e6dc91afae625ca04cf93 /lib/unicode-tokens.el
parente66e2309bcde928ea7ad1202755fca8bc74d6aeb (diff)
Clarify GE>=23 required for glyph rotation (decode 'ucs in fact).
Diffstat (limited to 'lib/unicode-tokens.el')
-rw-r--r--lib/unicode-tokens.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/unicode-tokens.el b/lib/unicode-tokens.el
index 46536f3e..dc9df306 100644
--- a/lib/unicode-tokens.el
+++ b/lib/unicode-tokens.el
@@ -239,7 +239,8 @@ if there is such a unique character."
(defun unicode-tokens-rotate-glyph-forward (&optional n)
"Rotate the character before point in the current code page, by N steps.
-If no character is found at the new codepoint, no change is made."
+If no character is found at the new codepoint, no change is made.
+This function may only work reliably for GNU Emacs >= 23."
(interactive "p")
(if (> (point) (point-min))
(let* ((codept (or (if (or (eq last-command
@@ -267,7 +268,8 @@ If no character is found at the new codepoint, no change is made."
(defun unicode-tokens-rotate-glyph-backward (&optional n)
"Rotate the character before point in the current code page, by -N steps.
-If no character is found at the new codepoint, no change is made."
+If no character is found at the new codepoint, no change is made.
+This function may only work reliably for GNU Emacs >= 23."
(interactive "p")
(unicode-tokens-rotate-glyph-forward (if n (- n) -1)))