[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/emacs.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/emacs.c |
Date: |
Fri, 23 Aug 2002 23:15:23 -0400 |
Index: emacs/src/emacs.c
diff -c emacs/src/emacs.c:1.313 emacs/src/emacs.c:1.314
*** emacs/src/emacs.c:1.313 Thu Aug 15 22:30:21 2002
--- emacs/src/emacs.c Fri Aug 23 23:15:22 2002
***************
*** 2226,2231 ****
--- 2226,2242 ----
/* Add /: to the front of the name
if it would otherwise be treated as magic. */
tem = Ffind_file_name_handler (element, Qt);
+
+ /* However, if the handler says "I'm safe",
+ don't bother adding /:. */
+ if (SYMBOLP (tem))
+ {
+ Lisp_Object prop;
+ prop = Fget (tem, intern ("safe-magic"));
+ if (! NILP (prop))
+ tem = Qnil;
+ }
+
if (! NILP (tem))
element = concat2 (build_string ("/:"), element);
- [Emacs-diffs] Changes to emacs/src/emacs.c, Andrew Choi, 2002/08/15
- [Emacs-diffs] Changes to emacs/src/emacs.c, Kenichi Handa, 2002/08/19
- [Emacs-diffs] Changes to emacs/src/emacs.c,
Richard M. Stallman <=
- [Emacs-diffs] Changes to emacs/src/emacs.c, Andrew Choi, 2002/08/25
- [Emacs-diffs] Changes to emacs/src/emacs.c, Andrew Choi, 2002/08/26
- [Emacs-diffs] Changes to emacs/src/emacs.c, Andrew Choi, 2002/08/26
- [Emacs-diffs] Changes to emacs/src/emacs.c, Richard M. Stallman, 2002/08/27
- [Emacs-diffs] Changes to emacs/src/emacs.c, Juanma Barranquero, 2002/08/28
- [Emacs-diffs] Changes to emacs/src/emacs.c, Richard M. Stallman, 2002/08/29