emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: file-name-handler-alist doesn't allow lambda forms


From: Richard Stallman
Subject: Re: file-name-handler-alist doesn't allow lambda forms
Date: Wed, 11 May 2005 12:27:02 -0400

Does this fix it?

*** fileio.c    09 May 2005 16:51:43 -0400      1.540
--- fileio.c    10 May 2005 14:16:29 -0400      
***************
*** 373,379 ****
          Lisp_Object string = XCAR (elt);
          int match_pos;
          Lisp_Object handler = XCDR (elt);
!         Lisp_Object operations = Fget (handler, Qoperations);
  
          if (STRINGP (string)
              && (match_pos = fast_string_match (string, filename)) > pos
--- 373,382 ----
          Lisp_Object string = XCAR (elt);
          int match_pos;
          Lisp_Object handler = XCDR (elt);
!         Lisp_Object operations = Qnil;
! 
!         if (SYMBOLP (handler))
!           operations = Fget (handler, Qoperations);
  
          if (STRINGP (string)
              && (match_pos = fast_string_match (string, filename)) > pos




reply via email to

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