From b30091a6bb64828eb3d70007db5b68d51b868bcc Mon Sep 17 00:00:00 2001 From: thierry Date: Fri, 6 Mar 2009 09:25:03 +0100 Subject: [PATCH] Add persistent-action to `anything-c-source-org-headline'. --- anything-config.el | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/anything-config.el b/anything-config.el index 82a9662..c7ec39c 100644 --- a/anything-config.el +++ b/anything-config.el @@ -3,7 +3,7 @@ ;; Filename: anything-config.el ;; Description: Predefined configurations for `anything.el' -;; Time-stamp: <2009-03-06 12:40:20 (JST) rubikitch> +;; Time-stamp: <2009-03-06 09:19:44 (CET) thierry> ;; Author: Tassilo Horn ;; Maintainer: Tassilo Horn ;; Andy Stewart @@ -193,6 +193,23 @@ ;; *Minimum length to be listed by `anything-c-source-kill-ring'. ;;; Change log: +;; 2009/03/06 +;; * rubikitch: +;; * Add new action to `anything-c-source-org-headline' / Fix a bug in headline plug-in +;; * Fix doc. +;; * `anything-c-source-org-headline': Fixed regexps +;; * Add `anything-show-kill-ring' command, drop-in replacement of `yank-pop'. +;; * Add Command/Option list generated by auto-document.el. +;; * Thierry Volpiatto: +;; * Add persistent-action to `anything-c-source-org-headline'. +;; 2009/03/05 +;; * rubikitch: +;; * Improved `anything-c-source-register' to do the right thing. +;; * Refactoring +;; * Rename function `anything-c-registers' => `anything-c-register-candidates' +;; 2009/03/03 +;; * rubikitch +;; * Add more docstrings. ;; 2009/03/02 ;; * rubikitch: ;; * Add `anything-c-skip-current-file'. @@ -1849,6 +1866,9 @@ http://www.emacswiki.org/cgi-bin/wiki/download/linkd.el") (condition . (eq major-mode 'org-mode)) (migemo) (subexp . 1) + (persistent-action . (lambda (elm) + (anything-c-action-line-goto elm) + (org-cycle))) (action-transformer . (lambda (actions candidate) '(("Go to Line" . anything-c-action-line-goto) -- 2.11.4.GIT