emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ba4f1d2: Remove json-pretty-print-max-secs introduc


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master ba4f1d2: Remove json-pretty-print-max-secs introduced earlier this year
Date: Tue, 9 Jul 2019 18:09:35 -0400 (EDT)

branch: master
commit ba4f1d28ecd6490e6886b7e3de89b0eab65b339a
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Remove json-pretty-print-max-secs introduced earlier this year
    
    * lisp/json.el (json-pretty-print-max-secs): Remove the variable
    as it's no longer used.
---
 lisp/json.el | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/lisp/json.el b/lisp/json.el
index 460fdec..eae5eda 100644
--- a/lisp/json.el
+++ b/lisp/json.el
@@ -49,8 +49,6 @@
 ;; 2008-02-21 - Installed in GNU Emacs.
 ;; 2011-10-17 - Patch `json-alist-p' and `json-plist-p' to avoid recursion -tzz
 ;; 2012-10-25 - Added pretty-printed reformatting -Ryan Crum (address@hidden)
-;; 2019-02-02 - Pretty-printing now uses replace-region-contents and support 
for
-;;              minimization -tsdh
 
 ;;; Code:
 
@@ -757,13 +755,6 @@ With prefix argument MINIMIZE, minimize it instead."
   (interactive "P")
   (json-pretty-print (point-min) (point-max) minimize))
 
-(defvar json-pretty-print-max-secs 2.0
-  "Maximum time for `json-pretty-print's comparison.
-The function `json-pretty-print' uses `replace-region-contents'
-(which see) passing the value of this variable as argument
-MAX-SECS.")
-(make-obsolete-variable 'json-pretty-print-max-secs nil "27.1")
-
 (defun json-pretty-print (begin end &optional minimize)
   "Pretty-print selected region.
 With prefix argument MINIMIZE, minimize it instead."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]