aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-05-09 23:18:30 +0000
committerRichard M. Stallman <[email protected]>1993-05-09 23:18:30 +0000
commit9b54f2680c29949a2fc5ac24150644ff449166bf (patch)
tree4232d2c44a1494c3f49b65be9fae719e9b0d7397 /lisp
parent723472f14e9ef0b561032f27095a9b8a491a441d (diff)
(dabbrev-expand): Delete a search-forward call
after the second replace-match.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/dabbrev.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el
index 0798b764c2..db5fcacd07 100644
--- a/lisp/dabbrev.el
+++ b/lisp/dabbrev.el
@@ -186,7 +186,9 @@ with the next possible expansion not yet tried."
;; case pattern.
(save-excursion
(replace-match abbrev t 'literal))
- (search-forward abbrev)
+;;; This used to be necessary, but no longer,
+;;; because now point is preserved correctly above.
+;;; (search-forward abbrev)
(replace-match (if do-case (downcase expansion) expansion)
(not do-case)
'literal))