pallet / ritz

SWANK and nREPL servers for clojure providing JPDA based debuggers
318 stars 33 forks source link

define-fringe-bitmap is missing when emacs built without X/Cocoa #102

Open apatil opened 11 years ago

apatil commented 11 years ago

When I put (require 'nrepl-ritz) in my .emacs and start with --debug-init, I get

Debugger entered--Lisp error: (void-function define-fringe-bitmap)                                                           
  define-fringe-bitmap(nrepl-ritz:breakpoint [0 8 12 254 15 254 12 8 0] nil nil nil)                                         
  byte-code("\300\301\302\303\304\305%\210\306\301\307\310\211\211%\207" [custom-declare-face nrepl-ritz:breakpoint ((t (:fo$
  require(nrepl-ritz)                                                                                                        
  eval-buffer(#<buffer  *load*> nil "/home/anand/.emacs" nil t)  ; Reading at buffer position 2057                           
  load-with-code-conversion("/home/anand/.emacs" "/home/anand/.emacs" t t)                                                   
  load("~/.emacs" t t)                                                                                                       
  #[0 "^H\205\262^@     \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315#\203*^@\316\202;^@\3$
  command-line()                                                                                                             
  normal-top-level()  

I think this is the same issue as https://github.com/lunaryorn/flycheck/issues/57 .

Thanks!