Explorar o código

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.
Bastien Guerry %!s(int64=15) %!d(string=hai) anos
pai
achega
09ae8a0b1d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lisp/org.el

+ 2 - 0
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.")