aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-07-07 23:15:21 +1000
committerYuchen Pei <id@ypei.org>2023-07-07 23:15:21 +1000
commit117b50a45dd2e1d66e2c6c1e7aeae7ab4c221504 (patch)
treed58e3cac0aba8943250f8640a6eb7e3d554c4e56
parentd1786b852a786164769423321caed0fc99be9421 (diff)
Adding managed props so we can edit links easily
-rw-r--r--emacs/.emacs.d/lisp/my/wiki.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/.emacs.d/lisp/my/wiki.el b/emacs/.emacs.d/lisp/my/wiki.el
index c1ea064..dce5194 100644
--- a/emacs/.emacs.d/lisp/my/wiki.el
+++ b/emacs/.emacs.d/lisp/my/wiki.el
@@ -107,7 +107,12 @@
(setq-local comment-end "-->")
;; FIXME: this should not be necessary in outline mode
- (setq-local font-lock-defaults '(wiki-font-lock-keywords t nil nil nil))
+ (setq-local font-lock-defaults
+ '(wiki-font-lock-keywords
+ t
+ nil
+ nil
+ (font-lock-extra-managed-props invisible font-lock-face)))
(setq-local outline-regexp wiki-outline-regexp)
(setq-local outline-level 'wiki-outline-level)
)