Mercurial > emacs
comparison src/alloc.c @ 1893:b047e77f3be4
(Fmemory_limit): Doc fix.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 20 Feb 1993 17:36:06 +0000 |
| parents | 11f62e53acff |
| children | d649f2179d67 |
comparison
equal
deleted
inserted
replaced
| 1892:c4ff65277bb3 | 1893:b047e77f3be4 |
|---|---|
| 2014 /* Debugging aids. */ | 2014 /* Debugging aids. */ |
| 2015 | 2015 |
| 2016 DEFUN ("memory-limit", Fmemory_limit, Smemory_limit, 0, 0, "", | 2016 DEFUN ("memory-limit", Fmemory_limit, Smemory_limit, 0, 0, "", |
| 2017 "Return the address of the last byte Emacs has allocated, divided by 1024.\n\ | 2017 "Return the address of the last byte Emacs has allocated, divided by 1024.\n\ |
| 2018 This may be helpful in debugging Emacs's memory usage.\n\ | 2018 This may be helpful in debugging Emacs's memory usage.\n\ |
| 2019 The value is divided by 1024 to make sure it will fit in a lisp integer.") | 2019 We divide the value by 1024 to make sure it fits in a Lisp integer.") |
| 2020 () | 2020 () |
| 2021 { | 2021 { |
| 2022 Lisp_Object end; | 2022 Lisp_Object end; |
| 2023 | 2023 |
| 2024 XSET (end, Lisp_Int, (int) sbrk (0) / 1024); | 2024 XSET (end, Lisp_Int, (int) sbrk (0) / 1024); |
