aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorStefan Monnier2010-09-19 11:49:21 +0200
committerStefan Monnier2010-09-19 11:49:21 +0200
commit9e0d4f9ef1cd4d7149c84475df5cef4d408743b6 (patch)
tree2723dc7513591123264d50be0b48c19cc6bcc405 /lisp/textmodes
parenta2930e438b2a70726e6d5b09de8b2a9658505c4e (diff)
downloademacs-9e0d4f9ef1cd4d7149c84475df5cef4d408743b6.tar.gz
emacs-9e0d4f9ef1cd4d7149c84475df5cef4d408743b6.zip
* lisp/emacs-lisp/float-sup.el (float-pi): New name for `pi'.
(float-e): New name for `e'. (degrees-to-radians, radians-to-degrees): * lisp/calendar/solar.el (solar-longitude): * lisp/calculator.el (calculator-registers, calculator-funcall): * lisp/textmodes/artist.el (artist-spray-random-points): * lisp/play/bubbles.el (bubbles--initialize-images): Use new names.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/artist.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index 41145afb766..bca7eed00d2 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -2939,7 +2939,7 @@ Blanks in the rendered text overwrite any text in the buffer."
2939Returns a list of points. Each point is on the form (X1 . Y1)." 2939Returns a list of points. Each point is on the form (X1 . Y1)."
2940 (let ((points)) 2940 (let ((points))
2941 (while (> n 0) 2941 (while (> n 0)
2942 (let* ((angle (* (random 359) (/ pi 180))) 2942 (let* ((angle (* (random 359) (/ float-pi 180)))
2943 (dist (random radius)) 2943 (dist (random radius))
2944 (point (cons (round (* dist (cos angle))) 2944 (point (cons (round (* dist (cos angle)))
2945 (round (* dist (sin angle)))))) 2945 (round (* dist (sin angle))))))