1
0
Fork 0

Compare commits

...

2 commits

2 changed files with 15 additions and 3 deletions

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2023.0615.233447 ;; Version: 2023.0706.164731
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame) ;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -517,5 +517,10 @@ which normally have their errors suppressed."
(mini-frame-mode) (mini-frame-mode)
;;; Lazy counting
(with-eval-after-load 'isearch
(setq isearch-lazy-count t))
(provide 'oni-core) (provide 'oni-core)
;;; oni-core.el ends here ;;; oni-core.el ends here

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2023.0621.002708 ;; Version: 2023.0628.233444
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table) ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -772,7 +772,14 @@ This is an around advice for org-html--svg-image as FUN."
(buffer-string))) (buffer-string)))
(funcall fun source attributes info))) (funcall fun source attributes info)))
(advice-add 'org-html--svg-image :around #'oni-org-html-svg-image-embed) (with-eval-after-load 'ox-hmtl
(advice-add 'org-html--format-image :around #'oni-org-html-svg-image-embed)
;; These two I've added because when I try to upload text with either of these
;; characters to Tekuti I just end up with sending ? for each. This is not an
;; issue with org-mode, the generated HTML correctly contains these characters
;; verbatim.
(add-to-list 'org-html-special-string-regexps (cons (rx "") "&ldquo;"))
(add-to-list 'org-html-special-string-regexps (cons (rx "") "&rdquo;")))
;;; Pomodoro ;;; Pomodoro