From 419b808adb2febfda69ff4f9619e0b4c48598a8e Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Wed, 4 Jan 2006 20:07:54 +0000 Subject: [PATCH] Fix backtrace on project names. * lisp/muse-wiki.el (muse-wiki-handle-interwiki): Fix backtrace on coloring project names. git-archimport-id: mwolson@gnu.org--2005/muse--main--1.0--patch-345 --- ChangeLog | 14 ++++++++++++++ lisp/muse-wiki.el | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 424b518..98a5dda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,20 @@ # arch-tag: automatic-ChangeLog--mwolson@gnu.org--2005/muse--main--1.0 # +2006-01-04 20:07:54 GMT Michael Olson patch-345 + + Summary: + Fix backtrace on project names. + Revision: + muse--main--1.0--patch-345 + + * lisp/muse-wiki.el (muse-wiki-handle-interwiki): Fix backtrace on + coloring project names. + + modified files: + ChangeLog lisp/muse-wiki.el + + 2006-01-04 00:50:43 GMT Michael Olson patch-344 Summary: diff --git a/lisp/muse-wiki.el b/lisp/muse-wiki.el index 2634668..83f7176 100644 --- a/lisp/muse-wiki.el +++ b/lisp/muse-wiki.el @@ -195,7 +195,8 @@ Match 2 is set to the description." (let* ((project (match-string 1 string)) (subst (cdr (assoc project muse-wiki-interwiki-alist))) (word (if string - (substring string (match-beginning 2)) + (and (match-beginning 2) + (substring string (match-beginning 2))) (match-string 2 string)))) (if subst (if (functionp subst) -- 2.11.4.GIT