summaryrefslogtreecommitdiff
path: root/lisp/textmodes/reftex.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-10-21 00:24:32 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-10-21 00:24:32 +0000
commit729f1525da7a8816e655daa51f6f4b2e7d7a043b (patch)
tree63be73ceb74026b6c20da50e9a4631f184d2b1f0 /lisp/textmodes/reftex.el
parent64b53a1f5a6e4cc53763d3d8879d7509ceae5e6a (diff)
downloademacs-729f1525da7a8816e655daa51f6f4b2e7d7a043b.tar.gz
* textmodes/reftex.el: Move require easymenu before first use.
(reftex-info): Require info at compile too. * textmodes/org-publish.el (org-publish-org-to-html) (org-publish-org-to): Require org at compile time too. (org-publish-attachment): Require at compile time too. * term/tty-colors.el (w32-tty-standard-colors): Pacify byte-compiler. * term/pc-win.el (frame-creation-function-alist): Add to this instead of setting frame-creation-function. * play/blackbox.el (bb-up, bb-down): Use forward-line. * net/rcirc.el (rcirc-markup-text-functions): Move definition earlier. * calendar/todo-mode.el: Require calendar at compile time. * calendar/cal-islam.el: Require diary-lib at compile time. * calendar/cal-hebrew.el: Require diary-lib and holidays at compile time. * w32-vars.el: Provide w32-vars. * term/w32-win.el: Require w32-vars. (w32-color-map): Pacify byte-compiler. * loadup.el: Load w32-wars before term/w32-win.
Diffstat (limited to 'lisp/textmodes/reftex.el')
-rw-r--r--lisp/textmodes/reftex.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el
index 519faded548..0c1beb17763 100644
--- a/lisp/textmodes/reftex.el
+++ b/lisp/textmodes/reftex.el
@@ -281,6 +281,8 @@
;; Stuff that needs to be there when we use defcustom
(require 'custom)
+(require 'easymenu)
+
(defvar reftex-tables-dirty t
"Flag showing if tables need to be re-computed.")
@@ -2425,8 +2427,6 @@ IGNORE-WORDS List of words which should be removed from the string."
(defvar reftex-isearch-minor-mode nil)
(make-variable-buffer-local 'reftex-isearch-minor-mode)
-(require 'easymenu)
-
(easy-menu-define reftex-mode-menu reftex-mode-map
"Menu used in RefTeX mode"
`("Ref"
@@ -2583,7 +2583,7 @@ IGNORE-WORDS List of words which should be removed from the string."
"Read documentation for RefTeX in the info system.
With optional NODE, go directly to that node."
(interactive)
- (require 'info)
+ (eval-and-compile (require 'info))
(Info-goto-node (format "(reftex)%s" (or node ""))))
;;; Install the kill-buffer and kill-emacs hooks ------------------------------