[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 69b3238: * lisp/textmodes/reftex.el: Silence byte-c
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master 69b3238: * lisp/textmodes/reftex.el: Silence byte-compiler warnings. |
Date: |
Fri, 09 Oct 2015 19:35:34 +0000 |
branch: master
commit 69b3238af2c6884d4ebbdb03603804e61fd45eba
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/textmodes/reftex.el: Silence byte-compiler warnings.
---
lisp/textmodes/reftex.el | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el
index f567963..6641523 100644
--- a/lisp/textmodes/reftex.el
+++ b/lisp/textmodes/reftex.el
@@ -1705,7 +1705,7 @@ When DIE is non-nil, throw an error if file not found."
(defvar message-stack)
(if (and (featurep 'xemacs)
(not (fboundp 'current-message)))
- (defun current-message (&optional frame)
+ (defun current-message (&optional _frame)
(cdr (car message-stack))))
(defun reftex-visited-files (list)
@@ -2047,7 +2047,7 @@ IGNORE-WORDS List of words which should be removed from
the string."
(message "Sorry: cannot refontify RefTeX Select buffer."))))
(rename-buffer oldname))))
-(defun reftex-select-font-lock-fontify-region (beg end &optional loudly)
+(defun reftex-select-font-lock-fontify-region (beg end &optional _loudly)
;; Fontify a region, but only lines starting with a dot.
(let ((func (if (fboundp 'font-lock-default-fontify-region)
'font-lock-default-fontify-region
@@ -2059,7 +2059,7 @@ IGNORE-WORDS List of words which should be removed from
the string."
(funcall func beg1 end1 nil)
(goto-char end1))))
-(defun reftex-select-font-lock-unfontify (&rest ignore) t)
+(defun reftex-select-font-lock-unfontify (&rest _ignore) t)
(defun reftex-verified-face (&rest faces)
;; Return the first valid face in FACES, or nil if none is valid.
@@ -2341,6 +2341,7 @@ output buffer into your mail program, as it gives us
important
information about your RefTeX version and configuration."
(interactive)
(require 'reporter)
+ (defvar reporter-prompt-for-summary-p)
(let ((reporter-prompt-for-summary-p "Bug report subject: "))
(reporter-submit-bug-report
"address@hidden, address@hidden"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 69b3238: * lisp/textmodes/reftex.el: Silence byte-compiler warnings.,
Stefan Monnier <=