[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 199/299: Fix bindings of narrowing functions.
From: |
Stefan Monnier |
Subject: |
[elpa] 199/299: Fix bindings of narrowing functions. |
Date: |
Sun, 02 Nov 2014 03:11:25 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
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.
---
ChangeLog | 9 +++++++++
latex.el | 2 +-
tex.el | 2 +-
3 files changed, 11 insertions(+), 2 deletions(-)
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
- [elpa] 197/299: Fix C-x ` (next-error) for compile commands., (continued)
- [elpa] 197/299: Fix C-x ` (next-error) for compile commands., Stefan Monnier, 2014/11/01
- [elpa] 200/299: Fix of the fix, my fault., Stefan Monnier, 2014/11/01
- [elpa] 195/299: Better signature of expert declaration functions., Stefan Monnier, 2014/11/01
- [elpa] 204/299: Revert "Skip comment or file in parens in output.", Stefan Monnier, 2014/11/01
- [elpa] 201/299: Disable electric-pair-mode., Stefan Monnier, 2014/11/01
- [elpa] 191/299: Distinguish common and advanced macros/envs., Stefan Monnier, 2014/11/01
- [elpa] 207/299: Add font name completion in fontspec.el., Stefan Monnier, 2014/11/01
- [elpa] 202/299: Disable electric-pair-mode conditionally., Stefan Monnier, 2014/11/01
- [elpa] 205/299: Handle package messages with parenthesized text., Stefan Monnier, 2014/11/01
- [elpa] 208/299: Use TeX-electric-math in LaTeX-math-insert/cal., Stefan Monnier, 2014/11/01
- [elpa] 199/299: Fix bindings of narrowing functions.,
Stefan Monnier <=
- [elpa] 209/299: Fix a bug with reftex where tex-info and LaTeX interferred., Stefan Monnier, 2014/11/01
- [elpa] 206/299: New style files and a fix to imakeidx.el., Stefan Monnier, 2014/11/01
- [elpa] 203/299: Skip comment or file in parens in output., Stefan Monnier, 2014/11/01
- [elpa] 211/299: Adapt style/babel.el to babel 3.9., Stefan Monnier, 2014/11/01
- [elpa] 210/299: Make search for \begin and \end case sensitive., Stefan Monnier, 2014/11/01
- [elpa] 214/299: Fix syntactic fontification., Stefan Monnier, 2014/11/01
- [elpa] 215/299: Declare LaTeX-shortvrb-chars as safe local variable., Stefan Monnier, 2014/11/01
- [elpa] 212/299: Distinguish between numbered and unnumbered sections., Stefan Monnier, 2014/11/01
- [elpa] 216/299: Add a ^L so that the file local variable example isn't picked up., Stefan Monnier, 2014/11/01
- [elpa] 217/299: Use default parameter of completing-read., Stefan Monnier, 2014/11/01