Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
7e1ad636
Commit
7e1ad636
authored
Apr 07, 2019
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/net/tramp.el (tramp-parse-group): Rename third arg to SKIP-CHARS.
(tramp-parse-sconfig-group): Fix thinko.
parent
0c16bb5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/net/tramp.el
lisp/net/tramp.el
+3
-3
No files found.
lisp/net/tramp.el
View file @
7e1ad636
...
...
@@ -2801,14 +2801,14 @@ for all methods. Resulting data are derived from default settings."
:port
method
:require
'
(
:port
)
:max
most-positive-fixnum
))))
;; Generic function.
(
defun
tramp-parse-group
(
regexp
match-level
skip-
regexp
)
(
defun
tramp-parse-group
(
regexp
match-level
skip-
chars
)
"Return a (user host) tuple allowed to access.
User is always nil."
(
let
(
result
)
(
when
(
re-search-forward
regexp
(
point-at-eol
)
t
)
(
setq
result
(
list
nil
(
match-string
match-level
))))
(
or
(
>
(
skip-chars-forward
skip-
regexp
)
0
)
(
>
(
skip-chars-forward
skip-
chars
)
0
)
(
forward-line
1
))
result
))
...
...
@@ -2864,7 +2864,7 @@ User is always nil."
(
tramp-parse-group
(
concat
"\\(?:^[ \t]*Host\\)"
"\\|"
"\\(?:^.+\\)"
"\\|"
"\\("
tramp-host-regexp
"\\)"
)
1
"
[ \t]+
"
))
1
"
\t
"
))
;; Generic function.
(
defun
tramp-parse-shostkeys-sknownhosts
(
dirname
regexp
)
...
...
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