summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-cmds.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2021-05-06 15:50:39 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2021-05-06 15:53:48 +0200
commit12bab2092045876a8193402c9f69af196ea22969 (patch)
tree77beac5a6ce35afc62d60c03f41e7ca017961d15 /lisp/net/tramp-cmds.el
parent896384b542cabdc000eafb80c9082830f692bbb2 (diff)
downloademacs-12bab2092045876a8193402c9f69af196ea22969.tar.gz
Tidy file-matching regexps and remove some ineffective backslashes
* lisp/emacs-lisp/package.el (package--delete-directory): * lisp/net/tramp-cmds.el (tramp-recompile-elpa): Escape dot; replace $ with \'. * lisp/help.el (help-for-help): * lisp/transient.el (transient-font-lock-keywords): Remove useless backslashes.
Diffstat (limited to 'lisp/net/tramp-cmds.el')
-rw-r--r--lisp/net/tramp-cmds.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-cmds.el b/lisp/net/tramp-cmds.el
index a3cf6f3211a..1572c2f3e3c 100644
--- a/lisp/net/tramp-cmds.el
+++ b/lisp/net/tramp-cmds.el
@@ -496,7 +496,7 @@ This is needed if there are compatibility problems."
((dir (tramp-compat-funcall
'package-desc-dir
(car (alist-get 'tramp (bound-and-true-p package-alist))))))
- (dolist (elc (directory-files dir 'full "\\.elc$"))
+ (dolist (elc (directory-files dir 'full "\\.elc\\'"))
(delete-file elc))
(with-current-buffer (get-buffer-create byte-compile-log-buffer)
(let ((inhibit-read-only t))