Skip to content
Browse files

* rudel-mode.el (require rudel-display): required for

  `rudel-display-string'
* rudel-display.el (require rudel): required to ensure `rudel-user'
  and `rudel-document' are defined
* obby/rudel-obby.el (require rudel-obby-display): make sure
  `rudel-display-string' is defined for obby classes
* obby/rudel-obby-display.el (require rudel-obby): required to ensure
  `rudel-obby-user' is defined
  • Loading branch information...
1 parent 225021d commit c91a9b1fe0cf349f659dd35070b3e891f240999b @scymtym committed Dec 21, 2009
Showing with 9 additions and 0 deletions.
  1. +2 −0 obby/rudel-obby-display.el
  2. +4 −0 obby/rudel-obby.el
  3. +2 −0 rudel-display.el
  4. +1 −0 rudel-mode.el
View
2 obby/rudel-obby-display.el
@@ -40,6 +40,8 @@
(require 'rudel-display)
(require 'rudel-icons)
+(require 'rudel-obby) ;; make sure `rudel-obby-user' is defined
+
(defmethod rudel-display-string ((this rudel-obby-user)
&optional use-images align)
"Return a textual representation of THIS for user interface purposes."
View
4 obby/rudel-obby.el
@@ -505,4 +505,8 @@ The resulting message is a string that looks like this:
'start-tls 'obby))
(provide 'rudel-obby)
+
+(require 'rudel-obby-display) ;; define `rudel-display-string'; this
+ ;; is a circular dependency
+
;;; rudel-obby.el ends here
View
2 rudel-display.el
@@ -37,6 +37,8 @@
;;; Code:
;;
+(require 'rudel) ;; make sure `rudel-user' and `rudel-document' are
+ ;; defined
(require 'rudel-icons)
View
1 rudel-mode.el
@@ -53,6 +53,7 @@
(require 'rudel)
(require 'rudel-hooks)
+(require 'rudel-display)
;;; Customization Options

0 comments on commit c91a9b1

Please sign in to comment.
Something went wrong with that request. Please try again.