diff options
| author | Jim Blandy | 1991-03-01 21:55:53 +0000 |
|---|---|---|
| committer | Jim Blandy | 1991-03-01 21:55:53 +0000 |
| commit | 3bfd7edbe7d3b56abc5a2ecb097e3cd594e3bf19 (patch) | |
| tree | 43c1fa962bf9b7ba0ed56d206a77d630147c955c | |
| parent | 56d506fcff55e31114063320005b319f1665eaa7 (diff) | |
| download | emacs-3bfd7edbe7d3b56abc5a2ecb097e3cd594e3bf19.tar.gz emacs-3bfd7edbe7d3b56abc5a2ecb097e3cd594e3bf19.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/emacs-lisp/float.el | 11 | ||||
| -rw-r--r-- | lisp/float-sup.el | 3 | ||||
| -rw-r--r-- | lisp/mail/rmailout.el | 9 |
3 files changed, 12 insertions, 11 deletions
diff --git a/lisp/emacs-lisp/float.el b/lisp/emacs-lisp/float.el index ce2ab101278..68b88f41ecc 100644 --- a/lisp/emacs-lisp/float.el +++ b/lisp/emacs-lisp/float.el | |||
| @@ -386,11 +386,10 @@ Optional second argument non-nil means use scientific notation." | |||
| 386 | ;; digits of the exponent. | 386 | ;; digits of the exponent. |
| 387 | (defun string-to-float (str) | 387 | (defun string-to-float (str) |
| 388 | "Convert the string to a floating point number. | 388 | "Convert the string to a floating point number. |
| 389 | Accepts a decimal string in scientific notation, | 389 | Accepts a decimal string in scientific notation, with exponent preceded |
| 390 | with exponent preceded by either E or e. | 390 | by either E or e. Only the six most significant digits of the integer |
| 391 | Only the 6 most significant digits of the integer and fractional parts | 391 | and fractional parts are used; only the first two digits of the exponent |
| 392 | are used; only the first two digits of the exponent are used. | 392 | are used. Negative signs preceding both the decimal number and the exponent |
| 393 | Negative signs preceding both the decimal number and the exponent | ||
| 394 | are recognized." | 393 | are recognized." |
| 395 | 394 | ||
| 396 | (if (string-match floating-point-regexp str 0) | 395 | (if (string-match floating-point-regexp str 0) |
| @@ -447,5 +446,3 @@ are recognized." | |||
| 447 | (funcall func exponent (aref powers-of-10 tens))))) | 446 | (funcall func exponent (aref powers-of-10 tens))))) |
| 448 | 447 | ||
| 449 | _f0)) ; if invalid, return 0 | 448 | _f0)) ; if invalid, return 0 |
| 450 | |||
| 451 | |||
diff --git a/lisp/float-sup.el b/lisp/float-sup.el index bf95369fd82..d7b756238d3 100644 --- a/lisp/float-sup.el +++ b/lisp/float-sup.el | |||
| @@ -42,8 +42,7 @@ | |||
| 42 | (defconst radians-to-degrees (/ 180.0 pi) | 42 | (defconst radians-to-degrees (/ 180.0 pi) |
| 43 | "Radian to degree conversion constant") | 43 | "Radian to degree conversion constant") |
| 44 | 44 | ||
| 45 | ;; these expand to a single multiply by a float | 45 | ;; these expand to a single multiply by a float when byte compiled |
| 46 | ;; when byte compiled | ||
| 47 | 46 | ||
| 48 | (defmacro degrees-to-radians (x) | 47 | (defmacro degrees-to-radians (x) |
| 49 | "Convert ARG from degrees to radians." | 48 | "Convert ARG from degrees to radians." |
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el index a02c2260fd3..a4018b5cf52 100644 --- a/lisp/mail/rmailout.el +++ b/lisp/mail/rmailout.el | |||
| @@ -50,7 +50,9 @@ starting with the current one. Deleted messages are skipped and don't count." | |||
| 50 | (setq tail (cdr tail)))) | 50 | (setq tail (cdr tail)))) |
| 51 | ;; If not suggestions, use same file as last time. | 51 | ;; If not suggestions, use same file as last time. |
| 52 | (or answer rmail-last-rmail-file))))) | 52 | (or answer rmail-last-rmail-file))))) |
| 53 | (setq file-name (expand-file-name file-name)) | 53 | (setq file-name |
| 54 | (expand-file-name file-name | ||
| 55 | (file-name-directory rmail-last-rmail-file))) | ||
| 54 | (setq rmail-last-rmail-file file-name) | 56 | (setq rmail-last-rmail-file file-name) |
| 55 | (rmail-maybe-set-message-counters) | 57 | (rmail-maybe-set-message-counters) |
| 56 | (or (get-file-buffer file-name) | 58 | (or (get-file-buffer file-name) |
| @@ -129,7 +131,10 @@ starting with the current one. Deleted messages are skipped and don't count." | |||
| 129 | ": ")) | 131 | ": ")) |
| 130 | (and rmail-last-file (file-name-directory rmail-last-file)) | 132 | (and rmail-last-file (file-name-directory rmail-last-file)) |
| 131 | rmail-last-file))) | 133 | rmail-last-file))) |
| 132 | (setq file-name (expand-file-name file-name)) | 134 | (setq file-name |
| 135 | (expand-file-name file-name | ||
| 136 | (and rmail-last-file | ||
| 137 | (file-name-directory rmail-last-file)))) | ||
| 133 | (setq rmail-last-file file-name) | 138 | (setq rmail-last-file file-name) |
| 134 | (while (> count 0) | 139 | (while (> count 0) |
| 135 | (let ((rmailbuf (current-buffer)) | 140 | (let ((rmailbuf (current-buffer)) |