summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2008-07-20 14:23:28 +0200
committerBastien Guerry <bzg@altern.org>2008-07-20 14:23:28 +0200
commit3dd3df19df93b339a0890663dd5cad2a77d753ca (patch)
treee9199f7993a6cc2fd4c84c3950abbd232819a02e
parent45e6f57af9ac298e468ee2aa385403b7fe103482 (diff)
downloadorg-mode-3dd3df19df93b339a0890663dd5cad2a77d753ca.tar.gz
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.
-rwxr-xr-xlisp/ChangeLog5
-rw-r--r--lisp/org.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 232b037..b102b11 100755
--- a/lisp/ChangeLog
+++ b/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
diff --git a/lisp/org.el b/lisp/org.el
index 122c0d6..658fafe 100644
--- a/lisp/org.el
+++ b/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)