auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. e231a73465cc1254001e8


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. e231a73465cc1254001e830f937d3127d778a061
Date: Sat, 23 Nov 2013 15:50:59 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  e231a73465cc1254001e830f937d3127d778a061 (commit)
      from  6bb03672776c2f68db9f27725bba6ae862645ebc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e231a73465cc1254001e830f937d3127d778a061
Author: Mosè Giordano <address@hidden>
Date:   Sat Nov 23 16:50:15 2013 +0100

    Fix bindings of narrowing functions.
    
    * latex.el (LaTeX-common-initialization):
    
    * tex.el (VirTeX-common-initialization): Move
    `LaTeX-narrow-to-environment' and `TeX-narrow-to-group' bindings
    to the AUCTeX maps because `narrow-map' is not defined in GNU
    Emacs < 22.2 and XEmacs.  Reported by Giacomo Boffi.

diff --git a/ChangeLog b/ChangeLog
index 3ea8bf3..2838966 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2013-11-23  Mosè Giordano  <address@hidden>
+
+       * latex.el (LaTeX-common-initialization):
+
+       * tex.el (VirTeX-common-initialization): Move
+       `LaTeX-narrow-to-environment' and `TeX-narrow-to-group' bindings
+       to the AUCTeX maps because `narrow-map' is not defined in GNU
+       Emacs < 22.2 and XEmacs.  Reported by Giacomo Boffi.
+
 2013-11-13  Mosè Giordano  <address@hidden>
 
        * style/biblatex.el ("biblatex"): Declare expert macros and
diff --git a/latex.el b/latex.el
index e3ff30c..45aaf81 100644
--- a/latex.el
+++ b/latex.el
@@ -6013,7 +6013,7 @@ i.e. you do _not_ have to cater for this yourself by 
adding \\\\' or $."
   (easy-menu-add LaTeX-mode-menu LaTeX-mode-map)
   (easy-menu-add LaTeX-mode-command-menu LaTeX-mode-map)
 
-  (define-key narrow-map "e" 'LaTeX-narrow-to-environment))
+  (define-key LaTeX-map "C-xne" 'LaTeX-narrow-to-environment))
 
 (defun LaTeX-imenu-create-index-function ()
   "Imenu support function for LaTeX."
diff --git a/tex.el b/tex.el
index fc31c1d..2c3cf5e 100644
--- a/tex.el
+++ b/tex.el
@@ -3141,7 +3141,7 @@ The algorithm is as follows:
   (make-local-variable 'TeX-auto-update)
   (setq TeX-auto-update t)
 
-  (define-key narrow-map "g" 'TeX-narrow-to-group)
+  (define-key TeX-map "C-xng" 'TeX-narrow-to-group)
 
   ;; Minor modes
   (when TeX-source-correlate-mode

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    9 +++++++++
 latex.el  |    2 +-
 tex.el    |    2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

[Prev in Thread] Current Thread [Next in Thread]