Incremental bbdb search

最近的anything-config.el包含多个新的anything source,其中一个就是anything-c-source-bbdb,通过使用如下函数,我们可以实现搜索结果随着输入动态变化。

(defun wl-bbdb ()
  (interactive)
  (if anything-c-source-bbdb
      (anything '(anything-c-source-bbdb))
    (bbdb)))

如果没有anything-c-source-bbdb,我们则使用原装搜索功能。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据