Function: ede-edit-web-page

ede-edit-web-page is an autoloaded, interactive and byte-compiled function defined in system.el.gz.

Signature

(ede-edit-web-page)

Documentation

Edit the web site for this project.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/system.el.gz
;;;###autoload
(defun ede-edit-web-page ()
  "Edit the web site for this project."
  (interactive)
  (let* ((toplevel (ede-toplevel))
	 (dir (oref toplevel web-site-directory))
	 (file (oref toplevel web-site-file))
	 (endfile (concat (file-name-as-directory dir) file)))
    (if (string-match "^/r[:@]" endfile)
	(require 'tramp))
    (when (not (file-exists-p endfile))
      (setq endfile file)
      (if (string-match "^/r[:@]" endfile)
	  (require 'tramp))
      (if (not (file-exists-p endfile))
	  (error "No project file found")))
    (find-file endfile)))