emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 971abd6 2/4: Remove commented-out code in compile_p


From: Daniel Colascione
Subject: [Emacs-diffs] master 971abd6 2/4: Remove commented-out code in compile_pattern_1
Date: Sat, 16 Jun 2018 16:46:52 -0400 (EDT)

branch: master
commit 971abd6753ed0b13019e52baab862e68453c7306
Author: Daniel Colascione <address@hidden>
Commit: Daniel Colascione <address@hidden>

    Remove commented-out code in compile_pattern_1
    
    * src/search.c (compile_pattern_1): Remove commented-out code.
---
 src/search.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/search.c b/src/search.c
index 6d01046..a21c01c 100644
--- a/src/search.c
+++ b/src/search.c
@@ -144,12 +144,6 @@ compile_pattern_1 (struct regexp_cache *cp, Lisp_Object 
pattern,
   else
     cp->f_whitespace_regexp = Qnil;
 
-  /* rms: I think BLOCK_INPUT is not needed here any more,
-     because regex.c defines malloc to call xmalloc.
-     Using BLOCK_INPUT here means the debugger won't run if an error occurs.
-     So let's turn it off.  */
-  /*  BLOCK_INPUT;  */
-
   whitespace_regexp = STRINGP (Vsearch_spaces_regexp) ?
     SSDATA (Vsearch_spaces_regexp) : NULL;
 
@@ -160,7 +154,6 @@ compile_pattern_1 (struct regexp_cache *cp, Lisp_Object 
pattern,
      syntax-table, it can only be reused with *this* syntax table.  */
   cp->syntax_table = cp->buf.used_syntax ? BVAR (current_buffer, syntax_table) 
: Qt;
 
-  /* unblock_input ();  */
   if (val)
     xsignal1 (Qinvalid_regexp, build_string (val));
 



reply via email to

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