[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex ec3877ea7f 74/77: Pacify Emacs 29 compiler warni
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex ec3877ea7f 74/77: Pacify Emacs 29 compiler warnings |
Date: |
Fri, 26 Aug 2022 16:06:39 -0400 (EDT) |
branch: externals/auctex
commit ec3877ea7f86cf5424e84899a0b34489d2569305
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Pacify Emacs 29 compiler warnings
* context.el (ConTeXt-outline-name):
* tex-bar.el (TeX-bar-TeX-buttons, TeX-bar-LaTeX-buttons): Use
`line-beginning-position' instead of `point-at-bol' and
`line-end-position' instead of `point-at-eol' which are obsolete
with Emacs 29.
---
context.el | 4 ++--
tex-bar.el | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/context.el b/context.el
index de47b9da23..50fb1adfee 100644
--- a/context.el
+++ b/context.el
@@ -1144,9 +1144,9 @@ An optional fourth (or sixth) element means always
replace if t."
(defun ConTeXt-outline-name ()
"Guess a name for the current header line."
(save-excursion
- (if (re-search-forward "{\\([^\}]*\\)}" (point-at-eol) t)
+ (if (re-search-forward "{\\([^}]*\\)}" (line-end-position) t)
(match-string 1)
- (buffer-substring-no-properties (point) (point-at-eol)))))
+ (buffer-substring-no-properties (point) (line-end-position)))))
;; This imenu also includes commented out chapters. Perhaps a feature
;; for LaTeX, not sure we want or need that for ConTeXt.
diff --git a/tex-bar.el b/tex-bar.el
index a9863f8893..9df6c8700e 100644
--- a/tex-bar.el
+++ b/tex-bar.el
@@ -202,7 +202,7 @@ format of the argument MEANING-ALIST in the mentioned
function."
(insert (format "\n\n`%s' provides the following buttons:\n " (car
i)))
(dolist (j (cdr i))
(insert (format " %s" j)))
- (fill-region (point-at-bol) (point-at-eol))))
+ (fill-region (line-beginning-position) (line-end-position))))
(display-buffer "*TeX tool bar buttons*" t)))
;;; Installation of the tool bar
@@ -342,7 +342,7 @@ format of the argument MEANING-ALIST in the mentioned
function."
(insert (format "\n\n`%s' provides the following buttons:\n " (car
i)))
(dolist (j (cdr i))
(insert (format " %s" j)))
- (fill-region (point-at-bol) (point-at-eol))))
+ (fill-region (line-beginning-position) (line-end-position))))
(display-buffer "*TeX tool bar buttons*" t)))
;;; Installation of the tool bar
- [elpa] externals/auctex b377080c80 50/77: Add notification about xelatex in preview-latex doc, (continued)
- [elpa] externals/auctex b377080c80 50/77: Add notification about xelatex in preview-latex doc, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex e9612823ff 52/77: Avoid emacs 25 error, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 2d28bd1630 67/77: Avoid `makeinfo` warnings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex cc70633aa6 51/77: ; * preview.el.in (preview-reference-face): Fix warning., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex edb15b8f26 43/77: Follow up the previous commit, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 87b24d0963 45/77: Add support for the Sioyek document viewer, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 794ecb01ab 35/77: Fontify \maketitle macro, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 0029ca410f 77/77: Release GNU AUCTeX 13.1.4, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 06db9e302b 75/77: Add new style/tcolorboxlib-theorems.el, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 19a2607b42 73/77: Unbreak building with Emacs 29 after obsoleting autoload.el, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ec3877ea7f 74/77: Pacify Emacs 29 compiler warnings,
Tassilo Horn <=
- [elpa] externals/auctex 0f59225c0f 70/77: ; * doc/todo.texi (Mid-term Goals): Fix typo., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex fe15af59d0 76/77: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 4486056d50 16/77: Add new style/ltcaption.el, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 3a1a820bdf 18/77: ; Rearrange code after last commit., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9b5cf4b550 27/77: Fix insertion of second optional argument, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 4770d57dba 38/77: Support different number of arguments for \hyperref, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex e3657144f5 53/77: Partial fix of region preview with TeX-output-dir feature, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex edabf207b4 65/77: Insert a space between \caption and \\ in tables, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 812368af6a 62/77: Update documentation about C-M-a and C-M-e, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 728db25bf7 69/77: Update documentation, Tassilo Horn, 2022/08/26