Next: 统计 defun 中的单词数量, Previous: 正则表达式搜索, Up: 翻译: Emacs Lisp 编程入门 [Contents][Index]
defun
循环与正则表达式搜索是编写 Emacs Lisp 代码时常用的强大工具。本章将通过构建单词统计命令,演示如何结合 while 循环与递归使用正则表达式搜索。
while
count-words-example