diff options
| author | Michael Albinus | 2023-10-23 17:07:17 +0200 |
|---|---|---|
| committer | Michael Albinus | 2023-10-23 17:07:17 +0200 |
| commit | 85d08d5788eba1e7195f6ea8888e802aea87f19d (patch) | |
| tree | 5aba2b6d84a3592b8b04f490bb0dfffd7131acce /lisp | |
| parent | 79d8328ca4a7506e394f7f068564dd44a9acd919 (diff) | |
| download | emacs-85d08d5788eba1e7195f6ea8888e802aea87f19d.tar.gz emacs-85d08d5788eba1e7195f6ea8888e802aea87f19d.zip | |
Minor connection-local variables fixes
* doc/emacs/custom.texi (Connection Variables): Warn about
specifying the same variable twice.
* lisp/files-x.el (connection-local-get-profiles): Normalize criteria.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/files-x.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files-x.el b/lisp/files-x.el index 9b1a7a17902..477ca059b2a 100644 --- a/lisp/files-x.el +++ b/lisp/files-x.el | |||
| @@ -644,7 +644,8 @@ Return a reordered plist." | |||
| 644 | "Return the connection profiles list for CRITERIA. | 644 | "Return the connection profiles list for CRITERIA. |
| 645 | CRITERIA is a plist identifying a connection and the application | 645 | CRITERIA is a plist identifying a connection and the application |
| 646 | using this connection, see `connection-local-criteria-alist'." | 646 | using this connection, see `connection-local-criteria-alist'." |
| 647 | (let (profiles) | 647 | (let ((criteria (connection-local-normalize-criteria criteria)) |
| 648 | profiles) | ||
| 648 | (dolist (crit-alist connection-local-criteria-alist) | 649 | (dolist (crit-alist connection-local-criteria-alist) |
| 649 | (let ((crit criteria) | 650 | (let ((crit criteria) |
| 650 | (match t)) | 651 | (match t)) |