diff options
| author | Miles Bader | 2000-08-19 01:53:42 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-08-19 01:53:42 +0000 |
| commit | 527083d575f13da741c07e6423fcdf9b69142fea (patch) | |
| tree | 332413b2db29143cd219e38b8b4ecbf85af9ebdc | |
| parent | 8db2b9fbbcd31e00d412db744acf482080464fc6 (diff) | |
| download | emacs-527083d575f13da741c07e6423fcdf9b69142fea.tar.gz emacs-527083d575f13da741c07e6423fcdf9b69142fea.zip | |
(byte-compile-beginning-of-line):
Compiler macro removed; beginning-of-line is no longer always
equivalent to forward-line, in the presence of fields.
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 57cbc63a9bf..dbcbe5c8c77 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | ;;; This version incorporates changes up to version 2.10 of the | 11 | ;;; This version incorporates changes up to version 2.10 of the |
| 12 | ;;; Zawinski-Furuseth compiler. | 12 | ;;; Zawinski-Furuseth compiler. |
| 13 | (defconst byte-compile-version "$Revision: 2.70 $") | 13 | (defconst byte-compile-version "$Revision: 2.72 $") |
| 14 | 14 | ||
| 15 | ;; This file is part of GNU Emacs. | 15 | ;; This file is part of GNU Emacs. |
| 16 | 16 | ||
| @@ -2691,7 +2691,6 @@ If FORM is a lambda or a macro, byte-compile it as a function." | |||
| 2691 | (byte-defop-compiler-1 - byte-compile-minus) | 2691 | (byte-defop-compiler-1 - byte-compile-minus) |
| 2692 | (byte-defop-compiler19 (/ byte-quo) byte-compile-quo) | 2692 | (byte-defop-compiler19 (/ byte-quo) byte-compile-quo) |
| 2693 | (byte-defop-compiler19 nconc) | 2693 | (byte-defop-compiler19 nconc) |
| 2694 | (byte-defop-compiler-1 beginning-of-line) | ||
| 2695 | 2694 | ||
| 2696 | (defun byte-compile-list (form) | 2695 | (defun byte-compile-list (form) |
| 2697 | (let ((count (length (cdr form)))) | 2696 | (let ((count (length (cdr form)))) |
| @@ -2847,19 +2846,6 @@ If FORM is a lambda or a macro, byte-compile it as a function." | |||
| 2847 | (if (cdr form) | 2846 | (if (cdr form) |
| 2848 | (byte-compile-discard)))))) | 2847 | (byte-compile-discard)))))) |
| 2849 | 2848 | ||
| 2850 | (defun byte-compile-beginning-of-line (form) | ||
| 2851 | (if (not (byte-compile-constp (nth 1 form))) | ||
| 2852 | (byte-compile-normal-call form) | ||
| 2853 | (byte-compile-form | ||
| 2854 | (list 'forward-line | ||
| 2855 | (if (integerp (setq form (or (eval (nth 1 form)) 1))) | ||
| 2856 | (1- form) | ||
| 2857 | (byte-compile-warn "Non-numeric arg to beginning-of-line: %s" | ||
| 2858 | form) | ||
| 2859 | (list '1- (list 'quote form)))) | ||
| 2860 | t) | ||
| 2861 | (byte-compile-constant nil))) | ||
| 2862 | |||
| 2863 | 2849 | ||
| 2864 | (byte-defop-compiler-1 setq) | 2850 | (byte-defop-compiler-1 setq) |
| 2865 | (byte-defop-compiler-1 setq-default) | 2851 | (byte-defop-compiler-1 setq-default) |