Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c86bd65b
Commit
c86bd65b
authored
Aug 01, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(file-name-handler-alist): Don't match host name ending in period.
parent
033ef863
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/ange-ftp.el
lisp/ange-ftp.el
+3
-2
No files found.
lisp/ange-ftp.el
View file @
c86bd65b
...
...
@@ -3826,10 +3826,11 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
;;; This regexp takes care of real ange-ftp file names (with a slash
;;; and colon).
;;; Don't allow the host name to end in a period--some systems use /.:
;;;###autoload
(
or
(
assoc
"^/[^/:]*[^/:]:"
file-name-handler-alist
)
(or (assoc "^/[^/:]*[^/:
.
]:" file-name-handler-alist)
(setq file-name-handler-alist
(
cons
'
(
"^/[^/:]*[^/:]:"
.
ange-ftp-hook-function
)
(cons '("^/[^/:]*[^/:
.
]:" . ange-ftp-hook-function)
file-name-handler-alist)))
;;; This regexp recognizes and absolute filenames with only one component,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment