Hello,

here is the code:

(defun jde-browse-jdk-doc ()
  "Displays the JDK doc in a web browser. This function uses the URL
stored in the variable jde-jdk-doc-url to locate the JDK documentation."
  (interactive)
  (if (file-exists-p jde-jdk-doc-url)
      (browse-url jde-jdk-doc-url browse-url-new-window-p)
    (error "The JDK documentation file, %s, does not exist." jde-jdk-doc-url)))

IMHO this can�t work because file-exists-p returns always nil if you call it with an 
argument
like "http://...." or "file:///H|/...".

At least with my Gnu Emacs 20.5 it returns nil with such arguments?

Is this really a bug or what must/can i do? For the moment i have commented out the 
file-exists-p call...

MTIA,
Klaus

--
Klaus Berndl                    mailto: [EMAIL PROTECTED]
sd&m AG                 http://www.sdm.de
software design & management    
Thomas-Dehler-Str. 27, 81737 M�nchen, Germany
Tel +49 89 63812-392, Fax -220

Reply via email to