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

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

bug#15866: Gnutls elisp code doesn't properly check for file existence


From: Lars Magne Ingebrigtsen
Subject: bug#15866: Gnutls elisp code doesn't properly check for file existence
Date: Sun, 07 Dec 2014 22:15:23 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> Wouldn't a solution here be to introduce a variable like
>> `inhibit-file-handlers' that would really inhibit all Lisp-level file
>> handlers?
>
> How is that different from binding file-name-handler-alist to nil?

I guess it isn't.  Wouldn't that solve this problem?  The patch
presented did some stuff with

(if (find-file-name-handler f 'expand-file-name)
  ...

but perhaps just binding that variable to nil unconditionally would be
the right thing here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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