浏览代码

Applied Juri Linkov's change from upstream Emacs CVS.

* org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
new keymap `narrow-map' instead of binding "\C-xns".

See the message <E1KKMJ4-0007CK-V2@cvs.savannah.gnu.org>
from the [Emacs-commit] mailing list.
Bastien Guerry 16 年之前
父节点
当前提交
3dd3df19df
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 5 0
      lisp/ChangeLog
  2. 1 1
      lisp/org.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2008-07-20  Juri Linkov <juri@jurta.org>
+
+	* org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
+	new keymap `narrow-map' instead of binding "\C-xns".
+
 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
 
 	* org.el (org-open-file): Use

+ 1 - 1
lisp/org.el

@@ -12517,7 +12517,7 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]."
 
 (org-defkey org-mode-map "\C-c\C-a" 'show-all)  ; in case allout messed up.
 (org-defkey org-mode-map "\C-c\C-r" 'org-reveal)
-(org-defkey org-mode-map "\C-xns" 'org-narrow-to-subtree)
+(org-defkey narrow-map "s" 'org-narrow-to-subtree)
 (org-defkey org-mode-map "\C-c$"    'org-archive-subtree)
 (org-defkey org-mode-map "\C-c\C-x\C-s" 'org-advertized-archive-subtree)
 (org-defkey org-mode-map "\C-c\C-x\C-a" 'org-toggle-archive-tag)