summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2007-04-22 10:37:08 +0000
committerKim F. Storm <storm@cua.dk>2007-04-22 10:37:08 +0000
commit79ef576382716cdef42ddb2212460d9de53f032e (patch)
treef173818a37e3aeb7472ea1dfa889b70c61f7579b /lisp/ido.el
parent5477ee28d7ab69e38615fb92037504027308bf80 (diff)
downloademacs-79ef576382716cdef42ddb2212460d9de53f032e.tar.gz
(ido-kill-buffer-at-head, ido-delete-file-at-head):
Don't use kill-line.
Diffstat (limited to 'lisp/ido.el')
-rw-r--r--lisp/ido.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 80ed82c2583..5a7be3e5ae6 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -3817,7 +3817,7 @@ for first matching file."
If cursor is not at the end of the user input, delete to end of input."
(interactive)
(if (not (eobp))
- (kill-line)
+ (delete-region (point) (line-end-position))
(let ((enable-recursive-minibuffers t)
(buf (ido-name (car ido-matches))))
(when buf
@@ -3835,7 +3835,7 @@ If cursor is not at the end of the user input, delete to end of input."
If cursor is not at the end of the user input, delete to end of input."
(interactive)
(if (not (eobp))
- (kill-line)
+ (delete-region (point) (line-end-position))
(let ((enable-recursive-minibuffers t)
(file (ido-name (car ido-matches))))
(if file