HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace Lisp calls to delete-backward-char by delete-char.
[bpt/emacs.git]
/
lisp
/
expand.el
diff --git
a/lisp/expand.el
b/lisp/expand.el
index
23fde5f
..
14bc210
100644
(file)
--- a/
lisp/expand.el
+++ b/
lisp/expand.el
@@
-368,7
+368,7
@@
See `expand-add-abbrevs'. Value is non-nil if expansion was done."
nil))
(defun expand-do-expansion ()
- (delete-
backward-char (length last-abbrev-text
))
+ (delete-
char (- (length last-abbrev-text)
))
(let* ((vect (symbol-value last-abbrev))
(text (aref vect 0))
(position (aref vect 1))