summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2010-07-31 18:19:11 +0200
committerBastien Guerry <bzg@altern.org>2010-07-31 18:19:11 +0200
commit09ae8a0b1d388fbf54588f90748ef5cfcb99b058 (patch)
tree2c331428ce12ba00bb9aabfdf4404397217cbb3b
parent4cd9e71019b707da5b319123bbbc3c5cebb10bf0 (diff)
downloadorg-mode-09ae8a0b1d388fbf54588f90748ef5cfcb99b058.tar.gz
Add restriction (un)lock to `org-speed-commands-default'.
You can now use "<" and ">" as speedy key commands for org-agenda-set-restriction-lock and org-agenda-remove-restriction-lock.
-rw-r--r--lisp/org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 41c3e90..b876ad5 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -16356,6 +16356,8 @@ BEG and END default to the buffer boundaries."
("Misc")
("o" . org-open-at-point)
("?" . org-speed-command-help)
+ ("<" . (org-agenda-set-restriction-lock 'subtree))
+ (">" . (org-agenda-remove-restriction-lock))
)
"The default speed commands.")