aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-04-11 15:15:23 -0700
committerPaul Eggert2016-04-11 15:15:59 -0700
commitc41ce1cf3db45111cf4034d4a5fe6d98ada07b97 (patch)
tree64d4a00266c4f95e3d7fd234bd5d627f853fb81f
parent10597c977d55cbf9304b51c3b364ce58199384a0 (diff)
downloademacs-c41ce1cf3db45111cf4034d4a5fe6d98ada07b97.tar.gz
emacs-c41ce1cf3db45111cf4034d4a5fe6d98ada07b97.zip
Capitalize “Universal Time” in documentation
It’s a proper noun. * lisp/vc/add-log.el (add-log-time-zone-rule): Also, fix typo by mentioning ‘format-time-string’ instead of ‘set-time-zone-rule’.
-rw-r--r--lisp/calendar/solar.el18
-rw-r--r--lisp/gnus/gnus-art.el2
-rw-r--r--lisp/vc/add-log.el7
3 files changed, 13 insertions, 14 deletions
diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el
index 15f5b7436cd..c78d2bbf519 100644
--- a/lisp/calendar/solar.el
+++ b/lisp/calendar/solar.el
@@ -173,7 +173,7 @@ delta. At present, delta = 0.01 degrees, so the value of the variable
173;;; End of user options. 173;;; End of user options.
174 174
175(defvar solar-sidereal-time-greenwich-midnight nil 175(defvar solar-sidereal-time-greenwich-midnight nil
176 "Sidereal time at Greenwich at midnight (universal time).") 176 "Sidereal time at Greenwich at midnight (Universal Time).")
177 177
178(defvar solar-northern-spring-or-summer-season nil 178(defvar solar-northern-spring-or-summer-season nil
179 "Non-nil if northern spring or summer and nil otherwise. 179 "Non-nil if northern spring or summer and nil otherwise.
@@ -413,8 +413,8 @@ Result is in days. For the years 1800-1987, the maximum error is
413(defun solar-ephemeris-time (time) 413(defun solar-ephemeris-time (time)
414 "Ephemeris Time at moment TIME. 414 "Ephemeris Time at moment TIME.
415TIME is a pair with the first component being the number of Julian centuries 415TIME is a pair with the first component being the number of Julian centuries
416elapsed at 0 Universal Time, and the second component being the universal 416elapsed at 0 Universal Time, and the second component counting Universal Time
417time. For instance, the pair corresponding to November 28, 1995 at 16 UT is 417hours. For instance, the pair corresponding to November 28, 1995 at 16 UT is
418\(-0.040945 16), -0.040945 being the number of Julian centuries elapsed between 418\(-0.040945 16), -0.040945 being the number of Julian centuries elapsed between
419Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT. 419Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT.
420 420
@@ -430,7 +430,7 @@ Result is in Julian centuries of ephemeris time."
430 "Right ascension (in hours) and declination (in degrees) of the sun at TIME. 430 "Right ascension (in hours) and declination (in degrees) of the sun at TIME.
431TIME is a pair with the first component being the number of 431TIME is a pair with the first component being the number of
432Julian centuries elapsed at 0 Universal Time, and the second 432Julian centuries elapsed at 0 Universal Time, and the second
433component being the universal time. For instance, the pair 433component counting Universal Time hours. For instance, the pair
434corresponding to November 28, 1995 at 16 UT is (-0.040945 16), 434corresponding to November 28, 1995 at 16 UT is (-0.040945 16),
435-0.040945 being the number of Julian centuries elapsed between 435-0.040945 being the number of Julian centuries elapsed between
436Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT. SUNRISE-FLAG is passed 436Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT. SUNRISE-FLAG is passed
@@ -444,7 +444,7 @@ to `solar-ecliptic-coordinates'."
444 "Azimuth and height of the sun at TIME, LATITUDE, and LONGITUDE. 444 "Azimuth and height of the sun at TIME, LATITUDE, and LONGITUDE.
445TIME is a pair with the first component being the number of 445TIME is a pair with the first component being the number of
446Julian centuries elapsed at 0 Universal Time, and the second 446Julian centuries elapsed at 0 Universal Time, and the second
447component being the universal time. For instance, the pair 447component counting Universal Time hours. For instance, the pair
448corresponding to November 28, 1995 at 16 UT is (-0.040945 16), 448corresponding to November 28, 1995 at 16 UT is (-0.040945 16),
449-0.040945 being the number of Julian centuries elapsed between 449-0.040945 being the number of Julian centuries elapsed between
450Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT. SUNRISE-FLAG 450Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT. SUNRISE-FLAG
@@ -476,8 +476,8 @@ Sunrise if DIRECTION =-1 or sunset if =1 at LATITUDE, LONGITUDE, with midday
476being TIME. 476being TIME.
477 477
478TIME is a pair with the first component being the number of Julian centuries 478TIME is a pair with the first component being the number of Julian centuries
479elapsed at 0 Universal Time, and the second component being the universal 479elapsed at 0 Universal Time, and the second component counting Universal Time
480time. For instance, the pair corresponding to November 28, 1995 at 16 UT is 480hours. For instance, the pair corresponding to November 28, 1995 at 16 UT is
481\(-0.040945 16), -0.040945 being the number of Julian centuries elapsed between 481\(-0.040945 16), -0.040945 being the number of Julian centuries elapsed between
482Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT. 482Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT.
483 483
@@ -522,8 +522,8 @@ Uses binary search."
522Parameters are the midday TIME and the LATITUDE, LONGITUDE of the location. 522Parameters are the midday TIME and the LATITUDE, LONGITUDE of the location.
523 523
524TIME is a pair with the first component being the number of Julian centuries 524TIME is a pair with the first component being the number of Julian centuries
525elapsed at 0 Universal Time, and the second component being the universal 525elapsed at 0 Universal Time, and the second component counting Universal Time
526time. For instance, the pair corresponding to November 28, 1995 at 16 UT is 526hours. For instance, the pair corresponding to November 28, 1995 at 16 UT is
527\(-0.040945 16), -0.040945 being the number of Julian centuries elapsed between 527\(-0.040945 16), -0.040945 being the number of Julian centuries elapsed between
528Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT. 528Jan 1, 2000 at 12 UT and November 28, 1995 at 0 UT.
529 529
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 4ea8baed854..66b1e38da2e 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -1028,7 +1028,7 @@ on parts -- for instance, adding Vcard info to a database."
1028 1028
1029(defcustom gnus-article-date-headers '(combined-lapsed) 1029(defcustom gnus-article-date-headers '(combined-lapsed)
1030 "A list of Date header formats to display. 1030 "A list of Date header formats to display.
1031Valid formats are `ut' (universal time), `local' (local time 1031Valid formats are `ut' (Universal Time), `local' (local time
1032zone), `english' (readable English), `lapsed' (elapsed time), 1032zone), `english' (readable English), `lapsed' (elapsed time),
1033`combined-lapsed' (both the original date and the elapsed time), 1033`combined-lapsed' (both the original date and the elapsed time),
1034`original' (the original date header), `iso8601' (ISO8601 1034`original' (the original date header), `iso8601' (ISO8601
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el
index 45e863340a5..fa02a5a1f5e 100644
--- a/lisp/vc/add-log.el
+++ b/lisp/vc/add-log.el
@@ -575,10 +575,9 @@ Compatibility function for \\[next-error] invocations."
575;; called add-log-time-zone-rule since it's only used from add-log-* code. 575;; called add-log-time-zone-rule since it's only used from add-log-* code.
576(defvaralias 'change-log-time-zone-rule 'add-log-time-zone-rule) 576(defvaralias 'change-log-time-zone-rule 'add-log-time-zone-rule)
577(defvar add-log-time-zone-rule nil 577(defvar add-log-time-zone-rule nil
578 "Time zone used for calculating change log time stamps. 578 "Time zone rule used for calculating change log time stamps.
579It takes the same format as the TZ argument of `set-time-zone-rule'. 579If nil, use local time. If t, use Universal Time.
580If nil, use local time. 580If a string, interpret as the ZONE argument of `format-time-string'.")
581If t, use universal time.")
582(put 'add-log-time-zone-rule 'safe-local-variable 581(put 'add-log-time-zone-rule 'safe-local-variable
583 (lambda (x) (or (booleanp x) (stringp x)))) 582 (lambda (x) (or (booleanp x) (stringp x))))
584 583