[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/simple.el
From: |
Kim F . Storm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/simple.el |
Date: |
Thu, 05 May 2005 18:43:06 -0400 |
Index: emacs/lisp/simple.el
diff -c emacs/lisp/simple.el:1.718 emacs/lisp/simple.el:1.719
*** emacs/lisp/simple.el:1.718 Wed May 4 14:22:48 2005
--- emacs/lisp/simple.el Thu May 5 22:43:06 2005
***************
*** 3416,3428 ****
;; Now move a line.
(end-of-line)
;; If there's no invisibility here, move over the newline.
! (if (not (line-move-invisible-p (point)))
;; We avoid vertical-motion when possible
;; because that has to fontify.
(if (eobp)
! (if (not noerror)
! (signal 'end-of-buffer nil)
! (setq done t))
(forward-line 1))
;; Otherwise move a more sophisticated way.
;; (What's the logic behind this code?)
--- 3416,3429 ----
;; Now move a line.
(end-of-line)
;; If there's no invisibility here, move over the newline.
! (if (and (not (integerp selective-display))
! (not (line-move-invisible-p (point))))
;; We avoid vertical-motion when possible
;; because that has to fontify.
(if (eobp)
! (if (not noerror)
! (signal 'end-of-buffer nil)
! (setq done t))
(forward-line 1))
;; Otherwise move a more sophisticated way.
;; (What's the logic behind this code?)
***************
*** 3432,3442 ****
(setq done t))))
(unless done
(setq arg (1- arg))))
! ;; The logic of this is the same as the loop above,
;; it just goes in the other direction.
(while (and (< arg 0) (not done))
(beginning-of-line)
! (if (or (bobp) (not (line-move-invisible-p (1- (point)))))
(if (bobp)
(if (not noerror)
(signal 'beginning-of-buffer nil)
--- 3433,3445 ----
(setq done t))))
(unless done
(setq arg (1- arg))))
! ;; The logic of this is the same as the loop above,
;; it just goes in the other direction.
(while (and (< arg 0) (not done))
(beginning-of-line)
! (if (or (bobp)
! (and (not (integerp selective-display))
! (not (line-move-invisible-p (1- (point))))))
(if (bobp)
(if (not noerror)
(signal 'beginning-of-buffer nil)
- [Emacs-diffs] Changes to emacs/lisp/simple.el, Richard M . Stallman, 2005/05/01
- [Emacs-diffs] Changes to emacs/lisp/simple.el, Richard M . Stallman, 2005/05/01
- [Emacs-diffs] Changes to emacs/lisp/simple.el, Richard M . Stallman, 2005/05/04
- [Emacs-diffs] Changes to emacs/lisp/simple.el,
Kim F . Storm <=
- [Emacs-diffs] Changes to emacs/lisp/simple.el, Eli Zaretskii, 2005/05/08
- [Emacs-diffs] Changes to emacs/lisp/simple.el, Eli Zaretskii, 2005/05/22
- [Emacs-diffs] Changes to emacs/lisp/simple.el, Lute Kamstra, 2005/05/26
- [Emacs-diffs] Changes to emacs/lisp/simple.el, Juanma Barranquero, 2005/05/31