[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 43b07d9 70/95: Use `TeX-line-number-at-pos' furt
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 43b07d9 70/95: Use `TeX-line-number-at-pos' further for older emacsen |
Date: |
Sun, 16 Apr 2017 01:26:57 -0400 (EDT) |
branch: externals/auctex
commit 43b07d951170a7b61745b34ac753eda88e23917f
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>
Use `TeX-line-number-at-pos' further for older emacsen
* tex-buf.el (TeX-region-create):
(TeX-region-update-point):
* tex-info.el (Texinfo-make-node-list): Replace `line-number-at-pos'
with `TeX-line-number-at-pos'.
---
tex-buf.el | 4 ++--
tex-info.el | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tex-buf.el b/tex-buf.el
index 6497777..fa05923 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -903,7 +903,7 @@ Does nothing in case the last command hasn't operated on the
region."
(when TeX-current-process-region-p
(let ((region-buf (get-file-buffer (TeX-region-file t)))
- (current-line (line-number-at-pos)))
+ (current-line (TeX-line-number-at-pos)))
(when region-buf
(with-current-buffer region-buf
(goto-char (point-min))
@@ -2096,7 +2096,7 @@ original file."
;; Position point at the line/col that corresponds to point's line in
;; orig-buffer in order to make forward search work.
(let ((line-col (with-current-buffer orig-buffer
- (cons (line-number-at-pos)
+ (cons (TeX-line-number-at-pos)
(current-column)))))
(goto-char (point-min))
(forward-line (1- (abs (- header-offset (car line-col)))))
diff --git a/tex-info.el b/tex-info.el
index 0433b0a..9684eb6 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -335,7 +335,7 @@ commands. Return the resulting string."
nodes
:test (lambda (a b)
(when (equal a b)
- (push (cons a (line-number-at-pos (point))) dups)
+ (push (cons a (TeX-line-number-at-pos (point))) dups)
t))))
(when dups
(display-warning
- [elpa] externals/auctex 4054384 25/95: Fix parsing bug in style/xcolor.el, (continued)
- [elpa] externals/auctex 4054384 25/95: Fix parsing bug in style/xcolor.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex b4f304b 36/95: Improve regexp for looking for documentclass macro, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 9876030 23/95: Fix minor problems, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 586cbd8 28/95: * .gitignore: Ignore only preview.el in top directory., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex cf43d7d 53/95: ; Add some full stops at the end of sentences of the manual, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex de5e40b 37/95: Fix setting of coding system for Japanese TeX, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 7e7e55e 40/95: Add new style/sourcecodepro.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 991b582 50/95: Detect \& in tabular cells when filling, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4fcee32 68/95: Use the variable `LaTeX-listing-label', Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 77974e6 71/95: * style/minted.el ("minted"): Add key=val query for \mint and \mintinline., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 43b07d9 70/95: Use `TeX-line-number-at-pos' further for older emacsen,
Tassilo Horn <=
- [elpa] externals/auctex 9e7f21e 69/95: Use compatibility function `TeX-line-number-at-pos' for older emacsen, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex c360b9a 76/95: Adapt fontification for \lstinline, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 2182b6f 30/95: Append "lstlisting" to `LaTeX-label-alist', Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 337ce76 33/95: Add new keys for package version 4.00, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 6bb49cc 39/95: * style/subfiles.el (LaTeX-subfiles-class-options): New function., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4992f5a 46/95: Make customization to face specification to appear in, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex c97a654 48/95: * tex-ispell.el (TeX-ispell-skip-setcdr): Add entry for filecontents package., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 0dc770d 42/95: Prevent infinite loop in TeX-command-expand, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 841d4cb 45/95: Unify treatment of face argument over the relevant functions., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 72a6943 54/95: Add fallback for indentation when & is omitted, Tassilo Horn, 2017/04/16