Commit ed571ccb authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/minibuffer.el (completion-file-name-table): Complete user names.

parent 61bb069e
2012-04-20 Stefan Monnier <>
* minibuffer.el (completion-file-name-table): Complete user names.
2012-04-20 Leo Liu <>
* font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
......@@ -1817,6 +1817,12 @@ same as `substitute-in-file-name'."
(condition-case nil
((eq action 'metadata) '(metadata (category . file)))
((string-match-p "\\`~[^/\\]*\\'" string)
(completion-table-with-context "~"
(mapcar (lambda (u) (concat u "/"))
(substring string 1)
pred action))
((eq (car-safe action) 'boundaries)
(let ((start (length (file-name-directory string)))
(end (string-match-p "/" (cdr action))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment