emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] patch for contents-tag


From: Aleix Conchillo Flaque
Subject: [emacs-wiki-discuss] patch for contents-tag
Date: Thu, 16 Sep 2004 23:50:21 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

hi,

this patch properly displays the contents (when publishing) even if
sections are extended links ([[][]]).

is this the right place to send it?

best regards,

aleix


--- emacs-wiki.el.old   2004-09-16 23:40:19.000000000 +0200
+++ emacs-wiki.el       2004-09-16 23:40:09.000000000 +0200
@@ -3382,7 +3382,8 @@
             (if (< l base)
                 (throw 'done t)))
           (when (<= l max-depth)
-            (setq contents (cons (cons l (match-string-no-properties 2))
+            (setq contents (cons (cons l (emacs-wiki-wiki-visible-name
+                                          (match-string-no-properties 2)))
                                  contents))
             (goto-char (match-beginning 2))
             (emacs-wiki-insert-anchor (concat "sec" (int-to-string index)))

Attachment: pgpjSg6vUucKo.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]