diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-16 01:09:51 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-16 01:09:51 +1000 |
commit | 455b893d25923b18c5de7ec0d50d918677883a10 (patch) | |
tree | 559bef947f8bcc22f822583fc7ab69244b963278 /wiki-markup.el | |
parent | 8bc29b00ab0d2957d0d47f27b6df255650a59d72 (diff) |
changing invisible to a display string
Diffstat (limited to 'wiki-markup.el')
-rw-r--r-- | wiki-markup.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiki-markup.el b/wiki-markup.el index f6d7699..f6543b5 100644 --- a/wiki-markup.el +++ b/wiki-markup.el @@ -114,7 +114,7 @@ This can be overriden with .dir-locals.el." (match-beginning 0))))) (cond ((not end) (goto-char limit)) ((or (not next-start) (>= next-start end)) - (put-text-property start end 'invisible t) + (put-text-property start end 'display ";)") (goto-char end)) (t (goto-char next-start)))))) @@ -239,7 +239,7 @@ This can be overriden with .dir-locals.el." nil (font-lock-extra-managed-props invisible font-lock-face button-data action category - button htmlize-link help-echo))) + button htmlize-link help-echo display))) (setq-local outline-regexp wiki-outline-re) (setq-local outline-level 'wiki-outline-level) ;; We have to do this again because `outline-mode' used the default |