From e9073b016a12bdb9764b74b8ba796fde2ff59e2e Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Fri, 13 May 2005 16:13:34 +0000 Subject: [PATCH] * Documentation/user/preface.itely (Preface): Run texinfo-all-menus-update. * scm/editor.scm (get-editor-command): Bugfix: allow full LYEDITOR setting, partial XEDITOR setting. With typo fix. --- ChangeLog | 5 ++++- Documentation/user/preface.itely | 2 +- scm/editor.scm | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3ae1e736fd..3219947bee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,10 @@ 2005-05-13 Jan Nieuwenhuizen + * Documentation/user/preface.itely (Preface): Run + texinfo-all-menus-update. + * scm/editor.scm (get-editor-command): Bugfix: allow full - LYEDITOR setting, partial XEDITOR setting. + LYEDITOR setting, partial XEDITOR setting. With typo fix. * Documentation/pictures/lilypond-48.xpm: New file. diff --git a/Documentation/user/preface.itely b/Documentation/user/preface.itely index ac81016a40..2965a376f4 100644 --- a/Documentation/user/preface.itely +++ b/Documentation/user/preface.itely @@ -49,7 +49,7 @@ Han-Wen and Jan Utrecht/Eindhoven, The Netherlands, July 2002. @menu -* Notes for version 2.4:: +* Notes for version 2.6:: @end menu @node Notes for version 2.6 diff --git a/scm/editor.scm b/scm/editor.scm index b57d7c2d5d..4bf560d243 100644 --- a/scm/editor.scm +++ b/scm/editor.scm @@ -28,9 +28,9 @@ (define-public (get-editor-command file-name line column) (define (get-command-template alist editor) (if (null? alist) - (if (string-match "%\\(file\\)s" file-name) - (file-name) - (string-append file-name " %(file)s")) + (if (string-match "%\\(file\\)s" editor) + (editor) + (string-append editor " %(file)s")) (if (string-match (caar alist) editor) (cdar alist) (get-command-template (cdr alist) editor)))) -- 2.39.2