[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 86/299: Make LaTeX-outline-level work for customized outline-rege
From: |
Stefan Monnier |
Subject: |
[elpa] 86/299: Make LaTeX-outline-level work for customized outline-regexp. |
Date: |
Sun, 02 Nov 2014 03:10:31 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 079eac16be24583895a13d9466d3d9374367c974
Author: Leo Liu <address@hidden>
Date: Sat Apr 17 12:48:39 2010 +0100
Make LaTeX-outline-level work for customized outline-regexp.
* latex.el (LaTeX-outline-level): Make it work for customized
`outline-regexp'. See bug report
http://permalink.gmane.org/gmane.emacs.auctex.bugs/1648.
---
ChangeLog | 6 ++++++
latex.el | 3 +--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a9728fe..2b11e29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-09 Leo Liu <address@hidden>
+
+ * latex.el (LaTeX-outline-level): Make it work for customized
+ `outline-regexp'. See bug report
+ http://permalink.gmane.org/gmane.emacs.auctex.bugs/1648.
+
2013-04-08 Tassilo Horn <address@hidden>
* latex.el (LaTeX-style-list): Correct docstring.
diff --git a/latex.el b/latex.el
index 378454a..41fedc7 100644
--- a/latex.el
+++ b/latex.el
@@ -314,8 +314,7 @@ If so, return the second element, otherwise return nil."
((TeX-look-at LaTeX-section-list)
(max 1 (+ (TeX-look-at LaTeX-section-list)
(LaTeX-outline-offset))))
- (t
- (error "Unrecognized header")))))))
+ (t (outline-level)))))))
(defun LaTeX-outline-name ()
"Guess a name for the current header line."
- [elpa] 85/299: Minor docfix., (continued)
- [elpa] 85/299: Minor docfix., Stefan Monnier, 2014/11/01
- [elpa] 83/299: provide completion for options in `TeX-arg-document', Stefan Monnier, 2014/11/01
- [elpa] 84/299: improve completion in LaTeX-arg-usepackage, Stefan Monnier, 2014/11/01
- [elpa] 82/299: Delete CVS Id keywords from lisp files., Stefan Monnier, 2014/11/01
- [elpa] 87/299: Support darwin., Stefan Monnier, 2014/11/01
- [elpa] 78/299: Better management of package options., Stefan Monnier, 2014/11/01
- [elpa] 90/299: Update README for Git., Stefan Monnier, 2014/11/01
- [elpa] 91/299: Fix typo., Stefan Monnier, 2014/11/01
- [elpa] 92/299: Syntax fix., Stefan Monnier, 2014/11/01
- [elpa] 93/299: Fix bug in TeX-evince-sync-view., Stefan Monnier, 2014/11/01
- [elpa] 86/299: Make LaTeX-outline-level work for customized outline-regexp.,
Stefan Monnier <=
- [elpa] 88/299: Improve TeX-math-input-method-off-regexp., Stefan Monnier, 2014/11/01
- [elpa] 89/299: Fix a bug in font-latex-add-to-syntax-alist., Stefan Monnier, 2014/11/01
- [elpa] 97/299: Replace completing-read-multiple with TeX-completing-read-multiple., Stefan Monnier, 2014/11/01
- [elpa] 98/299: Use crm-separator as separator in XEmacs TeX-completing-read-multiple., Stefan Monnier, 2014/11/01
- [elpa] 99/299: Add prompt argument to TeX-read-key-val and TeX-arg-key-val., Stefan Monnier, 2014/11/01
- [elpa] 101/299: Improve Evince backward search., Stefan Monnier, 2014/11/01
- [elpa] 94/299: Fix 2 bugs in DBUS communication., Stefan Monnier, 2014/11/01
- [elpa] 104/299: Change default value of `LaTeX-default-author' and adapt `LaTeX-arg-author'., Stefan Monnier, 2014/11/01
- [elpa] 96/299: Raise frame on backward search., Stefan Monnier, 2014/11/01
- [elpa] 105/299: Fix plain TeX abbrev table name., Stefan Monnier, 2014/11/01