diff options
| author | Karoly Lorentey | 2004-11-13 18:21:48 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-11-13 18:21:48 +0000 |
| commit | f590a2a442d19f3a74d7bbd02bbcb4e3239f2327 (patch) | |
| tree | 0ea1998c7a87cdc3faa9d00d3ea71b981cc1153a /lispref | |
| parent | 050ddd28da8d0bb44f06575e93c6bd7feb758829 (diff) | |
| parent | c37ee7cb84b11bf38e1f391b2015a2ec74e5c4e1 (diff) | |
| download | emacs-f590a2a442d19f3a74d7bbd02bbcb4e3239f2327.tar.gz emacs-f590a2a442d19f3a74d7bbd02bbcb4e3239f2327.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-672
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-266
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/ChangeLog | 17 | ||||
| -rw-r--r-- | lispref/Makefile.in | 6 | ||||
| -rw-r--r-- | lispref/commands.texi | 9 | ||||
| -rw-r--r-- | lispref/os.texi | 23 |
4 files changed, 48 insertions, 7 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index d1bb65d3358..197c7217785 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | 2004-11-06 Lars Brinkhoff <lars@nocrew.org> | ||
| 2 | |||
| 3 | * os.texi (Processor Run Time): New section documenting | ||
| 4 | get-internal-run-time. | ||
| 5 | |||
| 6 | 2004-11-06 Eli Zaretskii <eliz@gnu.org> | ||
| 7 | |||
| 8 | * Makefile.in (install, maintainer-clean): Don't use "elisp-*" as | ||
| 9 | it nukes elisp-cover.texi. | ||
| 10 | (dist): Change elisp-[0-9] to elisp-[1-9], as there could be no | ||
| 11 | elisp-0 etc. | ||
| 12 | |||
| 13 | 2004-11-05 Luc Teirlinck <teirllm@auburn.edu> | ||
| 14 | |||
| 15 | * commands.texi (Keyboard Macros): Document `append' return value | ||
| 16 | of `defining-kbd-macro'. | ||
| 17 | |||
| 1 | 2004-11-01 Richard M. Stallman <rms@gnu.org> | 18 | 2004-11-01 Richard M. Stallman <rms@gnu.org> |
| 2 | 19 | ||
| 3 | * commands.texi (Interactive Call): Add called-interactively-p. | 20 | * commands.texi (Interactive Call): Add called-interactively-p. |
diff --git a/lispref/Makefile.in b/lispref/Makefile.in index e9d99de7d6a..252ab1aaaed 100644 --- a/lispref/Makefile.in +++ b/lispref/Makefile.in | |||
| @@ -108,7 +108,7 @@ elisp.dvi: $(srcs) | |||
| 108 | 108 | ||
| 109 | install: elisp | 109 | install: elisp |
| 110 | $(srcdir)/mkinstalldirs $(infodir) | 110 | $(srcdir)/mkinstalldirs $(infodir) |
| 111 | cp elisp elisp-* $(infodir) | 111 | cp elisp elisp-[1-9] elisp-[1-9][0-9] $(infodir) |
| 112 | ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp | 112 | ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp |
| 113 | 113 | ||
| 114 | clean: | 114 | clean: |
| @@ -119,7 +119,7 @@ clean: | |||
| 119 | distclean: clean | 119 | distclean: clean |
| 120 | 120 | ||
| 121 | maintainer-clean: clean | 121 | maintainer-clean: clean |
| 122 | rm -f elisp elisp-* elisp.dvi elisp.oaux | 122 | rm -f elisp elisp-[1-9] elisp-[1-9][0-9] elisp.dvi elisp.oaux |
| 123 | 123 | ||
| 124 | dist: elisp elisp.dvi | 124 | dist: elisp elisp.dvi |
| 125 | -rm -rf temp | 125 | -rm -rf temp |
| @@ -128,7 +128,7 @@ dist: elisp elisp.dvi | |||
| 128 | -ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \ | 128 | -ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \ |
| 129 | $(srcdir)/Makefile.in $(srcs) \ | 129 | $(srcdir)/Makefile.in $(srcs) \ |
| 130 | $(srcdir)/../man/texinfo.tex \ | 130 | $(srcdir)/../man/texinfo.tex \ |
| 131 | elisp.dvi elisp.aux elisp.??s elisp elisp-[0-9] elisp-[0-9][0-9] \ | 131 | elisp.dvi elisp.aux elisp.??s elisp elisp-[1-9] elisp-[1-9][0-9] \ |
| 132 | temp/$(manual) | 132 | temp/$(manual) |
| 133 | -(cd temp/$(manual); rm -f mkinstalldirs) | 133 | -(cd temp/$(manual); rm -f mkinstalldirs) |
| 134 | cp $(srcdir)/mkinstalldirs temp/$(manual) | 134 | cp $(srcdir)/mkinstalldirs temp/$(manual) |
diff --git a/lispref/commands.texi b/lispref/commands.texi index 3c9612e5186..0144123ecb5 100644 --- a/lispref/commands.texi +++ b/lispref/commands.texi | |||
| @@ -420,7 +420,7 @@ the string.) Other characters that normally terminate a symbol (e.g., | |||
| 420 | parentheses and brackets) do not do so here. Prompt. | 420 | parentheses and brackets) do not do so here. Prompt. |
| 421 | 421 | ||
| 422 | @item U | 422 | @item U |
| 423 | A key sequence or nil. May be used after a @code{k} or @code{K} | 423 | A key sequence or @code{nil}. May be used after a @code{k} or @code{K} |
| 424 | argument to get the up-event that was discarded in case the key | 424 | argument to get the up-event that was discarded in case the key |
| 425 | sequence read for that argument was a down-event. No I/O. | 425 | sequence read for that argument was a down-event. No I/O. |
| 426 | 426 | ||
| @@ -3023,9 +3023,10 @@ yourself. | |||
| 3023 | @defvar defining-kbd-macro | 3023 | @defvar defining-kbd-macro |
| 3024 | This variable is non-@code{nil} if and only if a keyboard macro is | 3024 | This variable is non-@code{nil} if and only if a keyboard macro is |
| 3025 | being defined. A command can test this variable so as to behave | 3025 | being defined. A command can test this variable so as to behave |
| 3026 | differently while a macro is being defined. The commands | 3026 | differently while a macro is being defined. The value is |
| 3027 | @code{start-kbd-macro} and @code{end-kbd-macro} set this variable---do | 3027 | @code{append} while appending to the definition of an existing macro. |
| 3028 | not set it yourself. | 3028 | The commands @code{start-kbd-macro}, @code{kmacro-start-macro} and |
| 3029 | @code{end-kbd-macro} set this variable---do not set it yourself. | ||
| 3029 | 3030 | ||
| 3030 | The variable is always local to the current terminal and cannot be | 3031 | The variable is always local to the current terminal and cannot be |
| 3031 | buffer-local. @xref{Multiple Displays}. | 3032 | buffer-local. @xref{Multiple Displays}. |
diff --git a/lispref/os.texi b/lispref/os.texi index 42a0613bfec..90fba8975e2 100644 --- a/lispref/os.texi +++ b/lispref/os.texi | |||
| @@ -23,6 +23,7 @@ pertaining to the terminal and the screen. | |||
| 23 | * Time of Day:: Getting the current time. | 23 | * Time of Day:: Getting the current time. |
| 24 | * Time Conversion:: Converting a time from numeric form to a string, or | 24 | * Time Conversion:: Converting a time from numeric form to a string, or |
| 25 | to calendrical data (or vice versa). | 25 | to calendrical data (or vice versa). |
| 26 | * Processor Run Time:: Getting the run time used by Emacs. | ||
| 26 | * Time Calculations:: Adding, subtracting, comparing times, etc. | 27 | * Time Calculations:: Adding, subtracting, comparing times, etc. |
| 27 | * Timers:: Setting a timer to call a function at a certain time. | 28 | * Timers:: Setting a timer to call a function at a certain time. |
| 28 | * Terminal Input:: Recording terminal input for debugging. | 29 | * Terminal Input:: Recording terminal input for debugging. |
| @@ -1285,6 +1286,28 @@ For instance, years before 1970 do not work on some systems; | |||
| 1285 | on others, years as early as 1901 do work. | 1286 | on others, years as early as 1901 do work. |
| 1286 | @end defun | 1287 | @end defun |
| 1287 | 1288 | ||
| 1289 | @node Processor Run Time | ||
| 1290 | @section Processor Run time | ||
| 1291 | |||
| 1292 | @defun get-internal-run-time | ||
| 1293 | This function returns the processor run time used by Emacs as a list | ||
| 1294 | of three integers: @code{(@var{high} @var{low} @var{microsec})}. The | ||
| 1295 | integers @var{high} and @var{low} combine to give the number of | ||
| 1296 | seconds, which is | ||
| 1297 | @ifnottex | ||
| 1298 | @var{high} * 2**16 + @var{low}. | ||
| 1299 | @end ifnottex | ||
| 1300 | @tex | ||
| 1301 | $high*2^{16}+low$. | ||
| 1302 | @end tex | ||
| 1303 | |||
| 1304 | The third element, @var{microsec}, gives the microseconds (or 0 for | ||
| 1305 | systems that return time with the resolution of only one second). | ||
| 1306 | |||
| 1307 | If the system doesn't provide a way to determine the processor run | ||
| 1308 | time, get-internal-run-time returns the same time as current-time. | ||
| 1309 | @end defun | ||
| 1310 | |||
| 1288 | @node Time Calculations | 1311 | @node Time Calculations |
| 1289 | @section Time Calculations | 1312 | @section Time Calculations |
| 1290 | 1313 | ||