HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
931d902
)
(next-history-element): Use minibuffer-prompt-end once
author
Gerd Moellmann
<gerd@gnu.org>
Thu, 2 Sep 1999 20:35:50 +0000
(20:35 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Thu, 2 Sep 1999 20:35:50 +0000
(20:35 +0000)
again. Remove test for minibuffer-prompt-in-buffer.
lisp/simple.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index
418dd71
..
89033f8
100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-794,9
+794,7
@@
An uppercase letter in REGEXP makes the search case-sensitive."
(let ((print-level nil))
(prin1-to-string elt))
elt))
- (if (boundp 'minibuffer-prompt-in-buffer)
- (goto-char (minibuffer-prompt-width))
- (goto-char (point-min))))))
+ (goto-char (minibuffer-prompt-end)))))
(defun previous-history-element (n)
"Inserts the previous element of the minibuffer history into the minibuffer."