[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 257/299: Fix TeX-find-display-help.
From: |
Stefan Monnier |
Subject: |
[elpa] 257/299: Fix TeX-find-display-help. |
Date: |
Sun, 02 Nov 2014 03:11:49 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 148fdf7288eadc559e3e3df9d4409c9b9708407e
Author: Mosè Giordano <address@hidden>
Date: Sat Jun 28 17:09:12 2014 +0200
Fix TeX-find-display-help.
* tex-buf.el (TeX-find-display-help): Expand the name of the file to be
visited starting from the directory of the master file.
---
ChangeLog | 2 ++
tex-buf.el | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 95d9f5b..96fde52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,8 @@
(TeX-error-overview-frame-parameters): New customizable variable.
(TeX-error-overview-open-after-TeX-run): Ditto.
(TeX-error-overview): New function.
+ (TeX-find-display-help): Expand the name of the file to be visited
+ starting from the directory of the master file.
* tex.el (TeX-error-overview): Autoload `TeX-error-overview'.
(TeX-mode-specific-command-menu-entries): Add an entry for the
diff --git a/tex-buf.el b/tex-buf.el
index 2bcde1b..7f669fb 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1725,7 +1725,9 @@ Return non-nil if an error or warning is found."
(command-buffer TeX-command-buffer)
error-file-buffer start)
(run-hooks 'TeX-translate-location-hook)
- (setq error-file-buffer (find-file file))
+ (setq error-file-buffer
+ (find-file
+ (expand-file-name file (file-name-directory master))))
;; Set the value of `TeX-command-buffer' in the next file with an
;; error to be displayed to the value it has in the current buffer.
(with-current-buffer error-file-buffer
- [elpa] 246/299: Make style/babel.el file non-executable., (continued)
- [elpa] 246/299: Make style/babel.el file non-executable., Stefan Monnier, 2014/11/01
- [elpa] 234/299: Ask for TeX-master if unknown., Stefan Monnier, 2014/11/01
- [elpa] 244/299: Fix typo in listings.el., Stefan Monnier, 2014/11/01
- [elpa] 237/299: Update biblatex support in style file., Stefan Monnier, 2014/11/01
- [elpa] 250/299: Add TeX-previous-error to Command menu., Stefan Monnier, 2014/11/01
- [elpa] 247/299: Convert font-latex-fontify-sectioning to float when used as a number., Stefan Monnier, 2014/11/01
- [elpa] 252/299: Fix possible infinite loop in TeX-parse-all-errors., Stefan Monnier, 2014/11/01
- [elpa] 249/299: Backport from ELPA repository., Stefan Monnier, 2014/11/01
- [elpa] 245/299: Use TeX-esc as completion separator for units in siunitx.el., Stefan Monnier, 2014/11/01
- [elpa] 253/299: Cater for bad boxes in error descriptions., Stefan Monnier, 2014/11/01
- [elpa] 257/299: Fix TeX-find-display-help.,
Stefan Monnier <=
- [elpa] 251/299: Color TeX Help buffer., Stefan Monnier, 2014/11/01
- [elpa] 255/299: Better check for mgs., Stefan Monnier, 2014/11/01
- [elpa] 258/299: Prettify file names in error overview., Stefan Monnier, 2014/11/01
- [elpa] 259/299: Update Future Development section in manual., Stefan Monnier, 2014/11/01
- [elpa] 254/299: Simplify error finding and help displaying functions., Stefan Monnier, 2014/11/01
- [elpa] 263/299: Fix remaining XEmacs compilation issues., Stefan Monnier, 2014/11/01
- [elpa] 260/299: Improve selection of the forward/inverse search method., Stefan Monnier, 2014/11/01
- [elpa] 262/299: Fix some XEmacs compilation issues., Stefan Monnier, 2014/11/01
- [elpa] 264/299: Fix some runtime issues in XEmacs., Stefan Monnier, 2014/11/01
- [elpa] 248/299: Implement TeX-previous-error., Stefan Monnier, 2014/11/01