aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2019-06-04 08:29:37 -0700
committerPaul Eggert2019-06-04 08:34:16 -0700
commit741d04a87979feac2b26e6e7b9414932f4880166 (patch)
tree810b6b32dff379e12c483968cc8d61905131dbfc /lisp
parent7f4558e3d9edbdee6901e5fbcd4a4072f49ec5b9 (diff)
downloademacs-741d04a87979feac2b26e6e7b9414932f4880166.tar.gz
emacs-741d04a87979feac2b26e6e7b9414932f4880166.zip
Adjust comments/debug to match C bignum code
* doc/lispintro/emacs-lisp-intro.texi (Digression into C): Adjust to match current C code. * lisp/emacs-lisp/ert.el (ert--force-message-log-buffer-truncation): Simplify. * src/.gdbinit (Lisp_Object_Printer.to_string): Return a string that says "make_fixnum", not "make_number".
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/ert.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index 20d013b0797..ab24efe5a71 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -792,13 +792,13 @@ This mainly sets up debugger-related bindings."
792This can be useful after reducing the value of `message-log-max'." 792This can be useful after reducing the value of `message-log-max'."
793 (with-current-buffer (messages-buffer) 793 (with-current-buffer (messages-buffer)
794 ;; This is a reimplementation of this part of message_dolog() in xdisp.c: 794 ;; This is a reimplementation of this part of message_dolog() in xdisp.c:
795 ;; if (NATNUMP (Vmessage_log_max)) 795 ;; if (FIXNATP (Vmessage_log_max))
796 ;; { 796 ;; {
797 ;; scan_newline (Z, Z_BYTE, BEG, BEG_BYTE, 797 ;; scan_newline (Z, Z_BYTE, BEG, BEG_BYTE,
798 ;; -XFASTINT (Vmessage_log_max) - 1, 0); 798 ;; -XFIXNAT (Vmessage_log_max) - 1, false);
799 ;; del_range_both (BEG, BEG_BYTE, PT, PT_BYTE, 0); 799 ;; del_range_both (BEG, BEG_BYTE, PT, PT_BYTE, false);
800 ;; } 800 ;; }
801 (when (and (integerp message-log-max) (>= message-log-max 0)) 801 (when (natnump message-log-max)
802 (let ((begin (point-min)) 802 (let ((begin (point-min))
803 (end (save-excursion 803 (end (save-excursion
804 (goto-char (point-max)) 804 (goto-char (point-max))