小编Mat*_*tis的帖子

在 emacs dired 中,如何对多个标记的文件运行命令?

我有几个文件以 dired-mode 标记,我想运行一个命令(比如(delete-trailing-whitespace)在每个文件上。

有没有内置的方法可以做到这一点,还是我需要自己编写?

基本上我想做类似的事情,(dired-do-shell-command)但我想评估一个 emacs 表达式而不是一个 shell 命令。我想在 emacs 中对我标记的文件执行此操作,因此我无法使用-batch.

emacs

9
推荐指数
2
解决办法
2397
查看次数

标签 统计

emacs ×1