mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
* lisp/dired-aux.el (dired-compress-file): Don't use string-match-p
because its match data is used afterwards.
This commit is contained in:
parent
929c0500cc
commit
8778eb5efa
@ -1,3 +1,8 @@
|
||||
2014-03-29 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* dired-aux.el (dired-compress-file): Don't use string-match-p
|
||||
because its match data is used afterwards.
|
||||
|
||||
2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* emacs-lisp/package.el (package-built-in-p): Treat a min-version of
|
||||
|
@ -887,7 +887,7 @@ Otherwise, the rule is a compression rule, and compression is done with gzip.")
|
||||
;; See if any suffix rule matches this file name.
|
||||
(while suffixes
|
||||
(let (case-fold-search)
|
||||
(if (string-match-p (car (car suffixes)) file)
|
||||
(if (string-match (car (car suffixes)) file)
|
||||
(setq suffix (car suffixes) suffixes nil))
|
||||
(setq suffixes (cdr suffixes))))
|
||||
;; If so, compute desired new name.
|
||||
|
Loading…
Reference in New Issue
Block a user