initial commit
This commit is contained in:
commit
6327d228b3
2 changed files with 282 additions and 0 deletions
15
roleplay.el
Normal file
15
roleplay.el
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
(setq rp-color-MIU "#AA60AA")
|
||||
|
||||
;(replace-regexp "\\(?:^\\|[–-]\\s-*\\)MIU:\\(.*:\\s-)\\(.+?\\)\\($\\|\\s-+[-–]\\s-+\\)" (concat "–<font style=\"color:" rp-color-miu "\"> \\2 </font>\\3"))
|
||||
(defun xess ()
|
||||
(interactive)
|
||||
(message "%s" (eval(intern-soft "rp-color-MIU")))
|
||||
)
|
||||
|
||||
(defun rp-dialogue ()
|
||||
(interactive)
|
||||
(setq last-point (point))
|
||||
(move-beginning-of-line 1)
|
||||
(replace-regexp "\\(?:^\\|[–-]\\s-*\\)\\(.*\\): \\(.+?\\)\\($\\|\\s-+[-–]\\s-+\\)" (concat "–<font style=\"color:"(eval(intern-soft "rp-color-\\\\\\1"))"\">\\2 </font>\\3"))
|
||||
(goto-char last-point)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue