projects
/
elisp
/
apel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d34e577
)
(char-next-index): Fixed.
author
morioka
<morioka>
Fri, 17 Apr 1998 02:22:34 +0000
(
02:22
+0000)
committer
morioka
<morioka>
Fri, 17 Apr 1998 02:22:34 +0000
(
02:22
+0000)
emu-e20_2.el
patch
|
blob
|
history
emu-nemacs.el
patch
|
blob
|
history
diff --git
a/emu-e20_2.el
b/emu-e20_2.el
index
d713712
..
ca33328
100644
(file)
--- a/
emu-e20_2.el
+++ b/
emu-e20_2.el
@@
-45,7
+45,7
@@
but the contents viewed as characters do change."
(defmacro char-next-index (char index)
"Return index of character succeeding CHAR whose index is INDEX."
- `(+ ,index (char-bytes char)))
+ `(+ ,index (char-bytes ,char)))
;;; @ string
diff --git
a/emu-nemacs.el
b/emu-nemacs.el
index
91ee9d5
..
d5a3b4d
100644
(file)
--- a/
emu-nemacs.el
+++ b/
emu-nemacs.el
@@
-339,7
+339,7
@@
find-file-hooks, etc.
(defmacro char-next-index (char index)
"Return index of character succeeding CHAR whose index is INDEX."
- (` (1+ index)))
+ (` (+ (, index) (char-bytes (, char)))))
;;; @ string