diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/org.texi | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index c5daf44af91..82e768c6564 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-10-29 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Simplify use of current-time and friends. | ||
| 4 | * org.texi (Dynamic blocks): Omit unnecessary call to current-time | ||
| 5 | in example. | ||
| 6 | |||
| 1 | 2014-10-28 Christopher Schmidt <ch@ristopher.com> | 7 | 2014-10-28 Christopher Schmidt <ch@ristopher.com> |
| 2 | 8 | ||
| 3 | * calc.texi (Quick Calculator): Mention prefix argument of | 9 | * calc.texi (Quick Calculator): Mention prefix argument of |
diff --git a/doc/misc/org.texi b/doc/misc/org.texi index 2af44239e8d..4100171fa8e 100644 --- a/doc/misc/org.texi +++ b/doc/misc/org.texi | |||
| @@ -13126,7 +13126,7 @@ Here is a thorough example, taken from @inforef{GNU Sample Texts,,texinfo}. | |||
| 13126 | #+TEXINFO_PRINTED_TITLE: GNU Sample | 13126 | #+TEXINFO_PRINTED_TITLE: GNU Sample |
| 13127 | #+SUBTITLE: for version 2.0, last updated 4 March 2014 | 13127 | #+SUBTITLE: for version 2.0, last updated 4 March 2014 |
| 13128 | 13128 | ||
| 13129 | * Copying | 13129 | * Copying |
| 13130 | :PROPERTIES: | 13130 | :PROPERTIES: |
| 13131 | :COPYING: t | 13131 | :COPYING: t |
| 13132 | :END: | 13132 | :END: |
| @@ -17538,7 +17538,7 @@ The corresponding block writer function could look like this: | |||
| 17538 | (defun org-dblock-write:block-update-time (params) | 17538 | (defun org-dblock-write:block-update-time (params) |
| 17539 | (let ((fmt (or (plist-get params :format) "%d. %m. %Y"))) | 17539 | (let ((fmt (or (plist-get params :format) "%d. %m. %Y"))) |
| 17540 | (insert "Last block update at: " | 17540 | (insert "Last block update at: " |
| 17541 | (format-time-string fmt (current-time))))) | 17541 | (format-time-string fmt)))) |
| 17542 | @end lisp | 17542 | @end lisp |
| 17543 | 17543 | ||
| 17544 | If you want to make sure that all dynamic blocks are always up-to-date, | 17544 | If you want to make sure that all dynamic blocks are always up-to-date, |