+2004-10-13 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * elisp/lilypond-mode.el (LilyPond-command): Set XEDITOR. Cool
+ feature nicked from jEdit.
+
2004-10-12 Pedro Kroger <kroeger@pedrokroeger.net>
* Documentation/user/introduction.itely: Minor corrections.
Use the information in LilyPond-command-alist to determine how to run the
command."
-
+
(let ((entry (assoc name LilyPond-command-alist)))
(if entry
(let ((command (LilyPond-command-expand (cadr entry)
(if (member name (list "View" "ViewPS"))
;; is USR1 a right signal for viewps?
(let ((buffer-xdvi (get-buffer-create (concat "*" name "*"))))
+ ;; what if XEDITOR is set to gedit or so, should we steal it?
+ (if (not (getenv "XEDITOR"))
+ (setenv "XEDITOR" "emacsclient --no-wait +%l:%c %f"))
(if LilyPond-kick-xdvi
(let ((process-xdvi (get-buffer-process buffer-xdvi)))
(if process-xdvi