diff options
author | Miles Bader <miles@gnu.org> | 2007-08-03 05:49:59 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2007-08-03 05:49:59 +0000 |
commit | 0896d93184a719bc994a3e699de27190aac0acb1 (patch) | |
tree | 1bd6a3e4b44323c46e4a679adb4bbd3b0b8b3c93 /lisp/emulation/tpu-edt.el | |
parent | 84d04702f47babb6e1323acc6c1bd4c761b53231 (diff) | |
parent | 5716cebdd05ad26a4c3aa57c8ebf2890d4b937f6 (diff) | |
download | emacs-0896d93184a719bc994a3e699de27190aac0acb1.tar.gz |
Merge from emacs--rel--22
Patches applied:
* emacs--rel--22 (patch 84-87)
- Update from CVS
- Change capitalization of VC backend names for new backends
2007-08-02 Richard M. Stallman <rms@gnu.org>
* lisp/mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
to update deleted flag.
* lisp/cus-edit.el (customize-apropos, customize-apropos-options)
(customize-apropos-faces, customize-apropos-groups): Improve prompt.
* lisp/menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
* lisp/startup.el (fancy-splash-head, startup-echo-area-message):
Change message text.
* lisp/emulation/tpu-edt.el (next-line-internal): Setting deleted.
All callers use line-move.
* lisp/progmodes/compile.el (compilation-find-buffer): Return current
buffer immediately if suitable.
(compile, compilation-buffer-name, compilation-start): Doc fixes.
2007-07-31 Daiki Ueno <ueno@unixuser.org>
* lisp/faces.el (face-normalize-spec): New function.
(frame-set-background-mode): Normalize face-spec before calling
face-spec-match-p.
2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/server.el (server-window): Add switch-to-buffer-other-frame option.
2007-08-03 Richard M. Stallman <rms@gnu.org>
* src/fileio.c (Fvisited_file_modtime): Use make_time.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-844
Diffstat (limited to 'lisp/emulation/tpu-edt.el')
-rw-r--r-- | lisp/emulation/tpu-edt.el | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el index f1cdc0ca864..f3792b92e42 100644 --- a/lisp/emulation/tpu-edt.el +++ b/lisp/emulation/tpu-edt.el @@ -1035,13 +1035,6 @@ This is useful for inserting control characters." (defalias 'tpu-error 'error) -;; Around emacs version 18.57, function line-move was renamed to -;; next-line-internal. If we're running under an older emacs, -;; make next-line-internal equivalent to line-move. - -(if (not (fboundp 'next-line-internal)) (fset 'next-line-internal 'line-move)) - - ;;; ;;; Help ;;; @@ -1992,14 +1985,14 @@ With argument, do this that many times." "Move to next line. Prefix argument serves as a repeat count." (interactive "p") - (next-line-internal num) + (line-move num) (setq this-command 'next-line)) (defun tpu-previous-line (num) "Move to previous line. Prefix argument serves as a repeat count." (interactive "p") - (next-line-internal (- num)) + (line-move (- num)) (setq this-command 'previous-line)) (defun tpu-next-beginning-of-line (num) @@ -2122,7 +2115,7 @@ A repeat count means scroll that many sections." (let* ((beg (tpu-current-line)) (height (1- (window-height))) (lines (* num (/ (* height tpu-percent-scroll) 100)))) - (next-line-internal (- lines)) + (line-move (- lines)) (if (> lines beg) (recenter 0)))) (defun tpu-scroll-window-up (num) @@ -2132,7 +2125,7 @@ A repeat count means scroll that many sections." (let* ((beg (tpu-current-line)) (height (1- (window-height))) (lines (* num (/ (* height tpu-percent-scroll) 100)))) - (next-line-internal lines) + (line-move lines) (if (>= (+ lines beg) height) (recenter -1)))) (defun tpu-pan-right (num) |