summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
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/emacs-lisp
parent896384b542cabdc000eafb80c9082830f692bbb2 (diff)
downloademacs-12bab2092045876a8193402c9f69af196ea22969.tar.gz
emacs-12bab2092045876a8193402c9f69af196ea22969.tar.bz2
emacs-12bab2092045876a8193402c9f69af196ea22969.zip
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/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index e1339177519..b68ebfbd887 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2267,7 +2267,7 @@ Clean-up the corresponding .eln files if Emacs is native
compiled."
(when (featurep 'native-compile)
(cl-loop
- for file in (directory-files-recursively dir ".el\\'")
+ for file in (directory-files-recursively dir "\\.el\\'")
do (comp-clean-up-stale-eln (comp-el-to-eln-filename file))))
(delete-directory dir t))