🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87587

[19.27]: Patch to #if 0 out unused variables.

#87587
From: Simon Marshall
Date: Thu, 15 Sep 1994 14:45
57 lines
2388 bytes
In GNU Emacs 19.27.1 (sparc-sun-sunos4.1.3C, X toolkit) of Thu Sep 15 1994 on penelope

This diff "#if 0 outs" declarations for the unused variables
interval-balance-threshold and interval_balance_threshold (there is no
mention of them in *info*).

*** intervals-19.27.c	Thu Sep 15 16:12:48 1994
--- intervals.c	Thu Sep 15 16:20:12 1994
***************
*** 52,59 ****
--- 52,61 ----
  
  #define TMEM(sym, set) (CONSP (set) ? ! NILP (Fmemq (sym, set)) : ! NILP (set))
  
+ #if 0
  /* Factor for weight-balancing interval trees.  */
  Lisp_Object interval_balance_threshold;
+ #endif
  
  Lisp_Object merge_properties_sticky ();
  
*** intervals-19.27.h	Thu Sep 15 16:12:48 1994
--- intervals.h	Thu Sep 15 16:20:11 1994
***************
*** 166,172 ****
--- 166,174 ----
  
  /* Declared in intervals.c */
  
+ #if 0
  extern Lisp_Object interval_balance_threshold;
+ #endif
  
  extern INTERVAL create_root_interval ();
  extern void copy_properties ();
*** textprop-19.27.c	Thu Sep 15 16:27:48 1994
--- textprop.c	Thu Sep 15 16:27:49 1994
***************
*** 1314,1323 ****
--- 1314,1325 ----
  void
  syms_of_textprop ()
  {
+ #if 0
    DEFVAR_INT ("interval-balance-threshold", &interval_balance_threshold,
  	      "Threshold for rebalancing interval trees, expressed as the\n\
  percentage by which the left interval tree should not differ from the right.");
    interval_balance_threshold = 8;
+ #endif
  
    DEFVAR_LISP ("inhibit-point-motion-hooks", &Vinhibit_point_motion_hooks,
  	       "If non-nil, don't call the text property values of\n\

Whether the code is not necessary or not yet implemented, I haven't
looked.

Simon.
Technical Details
Message-ID: <9409151435.AA05562@plod.esrin.esa.it>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!mail.ESrin.ESa.IT!Simon.Marshall

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,a5ddf33e477a7db,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-09-15 16:44:46 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!mail.ESrin.ESa.IT!Simon.Marshall
From: Simon.Marshall@mail.ESrin.ESa.IT (Simon Marshall)
Newsgroups: gnu.emacs.bug
Subject: [19.27]: Patch to #if 0 out unused variables.
Date: 15 Sep 1994 10:45:59 -0400
Organization: GNUs Not Usenet
Lines: 57
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9409151435.AA05562@plod.esrin.esa.it>