diff options
Diffstat (limited to 'lisp/textmodes/reftex.el')
| -rw-r--r-- | lisp/textmodes/reftex.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index cef8a3d1548..b73056a803b 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -42,7 +42,7 @@ | |||
| 42 | ;; - For XEmacs 21.x, you need to install the RefTeX plug-in package | 42 | ;; - For XEmacs 21.x, you need to install the RefTeX plug-in package |
| 43 | ;; available from the XEmacs distribution sites. | 43 | ;; available from the XEmacs distribution sites. |
| 44 | ;; - If you have downloaded this file from the maintainers webpage, follow | 44 | ;; - If you have downloaded this file from the maintainers webpage, follow |
| 45 | ;; the instructions in the INSTALL file of the distrubution. | 45 | ;; the instructions in the INSTALL file of the distribution. |
| 46 | ;; | 46 | ;; |
| 47 | ;; To turn RefTeX Mode on and off in a buffer, use `M-x reftex-mode'. | 47 | ;; To turn RefTeX Mode on and off in a buffer, use `M-x reftex-mode'. |
| 48 | ;; | 48 | ;; |
| @@ -688,7 +688,7 @@ on the menu bar. | |||
| 688 | (TeX-master-file t) | 688 | (TeX-master-file t) |
| 689 | (error (buffer-file-name)))) | 689 | (error (buffer-file-name)))) |
| 690 | ((fboundp 'tex-main-file) (tex-main-file)) ; Emacs LaTeX mode | 690 | ((fboundp 'tex-main-file) (tex-main-file)) ; Emacs LaTeX mode |
| 691 | ((boundp 'TeX-master) ; The variable is defined - lets use it. | 691 | ((boundp 'TeX-master) ; The variable is defined - let's use it. |
| 692 | (cond | 692 | (cond |
| 693 | ((eq TeX-master t) | 693 | ((eq TeX-master t) |
| 694 | (buffer-file-name)) | 694 | (buffer-file-name)) |
| @@ -1568,7 +1568,7 @@ Valid actions are: readable, restore, read, kill, write." | |||
| 1568 | ;;; Finding files | 1568 | ;;; Finding files |
| 1569 | 1569 | ||
| 1570 | (defun reftex-locate-file (file type master-dir &optional die) | 1570 | (defun reftex-locate-file (file type master-dir &optional die) |
| 1571 | "Find FILE of type TYPE in MASTER-DIR or on the path associcted with TYPE. | 1571 | "Find FILE of type TYPE in MASTER-DIR or on the path associated with TYPE. |
| 1572 | If the file does not have any of the valid extensions for TYPE, | 1572 | If the file does not have any of the valid extensions for TYPE, |
| 1573 | try first the default extension and only then the naked file name. | 1573 | try first the default extension and only then the naked file name. |
| 1574 | When DIE is non-nil, throw an error if file not found." | 1574 | When DIE is non-nil, throw an error if file not found." |
| @@ -1612,7 +1612,7 @@ When DIE is non-nil, throw an error if file not found." | |||
| 1612 | (defun reftex-find-file-externally (file type &optional master-dir) | 1612 | (defun reftex-find-file-externally (file type &optional master-dir) |
| 1613 | ;; Use external program to find FILE. | 1613 | ;; Use external program to find FILE. |
| 1614 | ;; The program is taken from `reftex-external-file-finders'. | 1614 | ;; The program is taken from `reftex-external-file-finders'. |
| 1615 | ;; Interprete relative path definitions starting from MASTER-DIR. | 1615 | ;; Interpret relative path definitions starting from MASTER-DIR. |
| 1616 | (let ((default-directory (or master-dir default-directory)) | 1616 | (let ((default-directory (or master-dir default-directory)) |
| 1617 | (prg (cdr (assoc type reftex-external-file-finders))) | 1617 | (prg (cdr (assoc type reftex-external-file-finders))) |
| 1618 | out) | 1618 | out) |
| @@ -2058,7 +2058,7 @@ When DIE is non-nil, throw an error if file not found." | |||
| 2058 | (with-current-buffer buf | 2058 | (with-current-buffer buf |
| 2059 | (run-hooks 'reftex-initialize-temporary-buffers)))) | 2059 | (run-hooks 'reftex-initialize-temporary-buffers)))) |
| 2060 | 2060 | ||
| 2061 | ;; Lets see if we got a license to kill :-| | 2061 | ;; Let's see if we got a license to kill :-| |
| 2062 | (and mark-to-kill | 2062 | (and mark-to-kill |
| 2063 | (add-to-list 'reftex-buffers-to-kill buf)) | 2063 | (add-to-list 'reftex-buffers-to-kill buf)) |
| 2064 | 2064 | ||
| @@ -2254,7 +2254,7 @@ IGNORE-WORDS List of words which should be removed from the string." | |||
| 2254 | (defvar font-lock-defaults-computed) | 2254 | (defvar font-lock-defaults-computed) |
| 2255 | (defun reftex-fontify-select-label-buffer (parent-buffer) | 2255 | (defun reftex-fontify-select-label-buffer (parent-buffer) |
| 2256 | ;; Fontify the `*RefTeX Select*' buffer. Buffer is temporarily renamed to | 2256 | ;; Fontify the `*RefTeX Select*' buffer. Buffer is temporarily renamed to |
| 2257 | ;; start with none-SPC char, beacuse Font-Lock otherwise refuses operation. | 2257 | ;; start with none-SPC char, because Font-Lock otherwise refuses operation. |
| 2258 | (run-hook-with-args 'reftex-pre-refontification-functions | 2258 | (run-hook-with-args 'reftex-pre-refontification-functions |
| 2259 | parent-buffer 'reftex-ref) | 2259 | parent-buffer 'reftex-ref) |
| 2260 | (let* ((oldname (buffer-name)) | 2260 | (let* ((oldname (buffer-name)) |