/mouse enable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Add `:cmdline -charset utf-8' to org-src-block:plantuml | |
;; Fix `@start' prefix execute error | |
(use-package! ob-plantuml | |
:when (featurep! :lang plantuml) | |
:after plantuml-mode | |
:init | |
(defadvice! +fixstart--org-babel-execute:plantuml (args) | |
:filter-args #'org-babel-execute:plantuml | |
(cl-destructuring-bind (body params) args | |
(let* ((origin-body body) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Google translate | |
;; 让google-translate使用posframe显示弹出窗口,比popup显示更好看,没有对齐问题 | |
;; Let google-translate use posframe to display tooltip, better than popup, | |
;; no alignment problem | |
(require 'google-translate) | |
(setq google-translate-base-url | |
"http://translate.google.cn/translate_a/single") | |
(setq google-translate-listen-url | |
"http://translate.google.cn/translate_tts") |