[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/simple.el,v
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/simple.el,v |
Date: |
Sun, 04 Mar 2007 17:48:56 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Richard M. Stallman <rms> 07/03/04 17:48:56
Index: simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.846
retrieving revision 1.847
diff -u -b -r1.846 -r1.847
--- simple.el 17 Feb 2007 23:06:12 -0000 1.846
+++ simple.el 4 Mar 2007 17:48:56 -0000 1.847
@@ -758,7 +758,7 @@
(/ size 10))
(/ (+ 10 (* size (prefix-numeric-value arg))) 10)))
(point-min))))
- (if arg (forward-line 1)))
+ (if (and arg (not (consp arg))) (forward-line 1)))
(defun end-of-buffer (&optional arg)
"Move point to the end of the buffer; leave mark at previous position.
@@ -785,7 +785,7 @@
(point-max))))
;; If we went to a place in the middle of the buffer,
;; adjust it to the beginning of a line.
- (cond (arg (forward-line 1))
+ (cond ((and arg (not (consp arg))) (forward-line 1))
((> (point) (window-end nil t))
;; If the end of the buffer is not already on the screen,
;; then scroll specially to put it near, but not at, the bottom.
@@ -5088,7 +5088,8 @@
;; so it will get copied into the completion list buffer.
(if minibuffer-completing-file-name
(with-current-buffer mainbuf
- (setq default-directory (file-name-directory mbuf-contents))))
+ (setq default-directory (or (file-name-directory mbuf-contents)
+ default-directory))))
(with-current-buffer standard-output
(completion-list-mode)
(set (make-local-variable 'completion-reference-buffer) mainbuf)
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v,
Richard M. Stallman <=
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Stefan Monnier, 2007/03/05
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Chong Yidong, 2007/03/08
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Chong Yidong, 2007/03/17
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Chong Yidong, 2007/03/19
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Richard M. Stallman, 2007/03/20
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Chong Yidong, 2007/03/28
- [Emacs-diffs] Changes to emacs/lisp/simple.el,v, Juanma Barranquero, 2007/03/30