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:
90cbf47
)
(comint-bol): Use `forward-line 0' instead of calling beginning-of-line
author
Miles Bader
<miles@gnu.org>
Mon, 14 Aug 2000 12:56:03 +0000
(12:56 +0000)
committer
Miles Bader
<miles@gnu.org>
Mon, 14 Aug 2000 12:56:03 +0000
(12:56 +0000)
with inhibit-field-text-motion bound.
lisp/comint.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index
c776267
..
da9e279
100644
(file)
--- a/
lisp/comint.el
+++ b/
lisp/comint.el
@@
-1740,9
+1740,8
@@
prompt skip is done by skipping text matching the regular expression
`comint-prompt-regexp', a buffer local variable."
(interactive "P")
(if arg
- ;; Disregard prompt
- (let ((inhibit-field-text-motion t))
- (beginning-of-line))
+ ;; Unlike `beginning-of-line', forward-line ignores field boundaries
+ (forward-line 0)
(goto-char (comint-line-beginning-position))))
;; These three functions are for entering text you don't want echoed or