Compare commits
2 Commits
68092c597d
...
ae3a63ce5a
Author | SHA1 | Date | |
---|---|---|---|
|
ae3a63ce5a | ||
|
ee82dfa487 |
10
README.org
10
README.org
@ -3325,7 +3325,7 @@ v org-latex-subtitle-format)}}}, {{{kbd(C-h v org-latex-title-command)}}}, and
|
|||||||
exporting from Org-mode to LaTeX.
|
exporting from Org-mode to LaTeX.
|
||||||
|
|
||||||
#+caption[Define buffer local =ox-latex= variables]:
|
#+caption[Define buffer local =ox-latex= variables]:
|
||||||
#+caption: Define buffer local =-ox-latex= variables.
|
#+caption: Define buffer local =ox-latex= variables.
|
||||||
#+header: :var title-page=lst/title-page
|
#+header: :var title-page=lst/title-page
|
||||||
#+name: lst:ox-latex-emacs-lisp-setup
|
#+name: lst:ox-latex-emacs-lisp-setup
|
||||||
#+begin_src emacs-lisp :results silent :tangle no
|
#+begin_src emacs-lisp :results silent :tangle no
|
||||||
@ -4968,11 +4968,11 @@ Listing [[lst:configure-browse-url]] configures =browse-url=.
|
|||||||
(start-process "mpv" nil "mpv" url))
|
(start-process "mpv" nil "mpv" url))
|
||||||
|
|
||||||
(defconst browse-url-mpv-regexp
|
(defconst browse-url-mpv-regexp
|
||||||
(rx bos
|
(rx bos "http" (opt "s") "://"
|
||||||
(or "http://" "https://")
|
(or (seq "youtu.be/")
|
||||||
(or (or "www.youtube.com/" "youtu.be/" "soundcloud.com/")
|
(seq "www.youtube.com/" (or "embed/" "watch?"))
|
||||||
(seq (+? nonl) (or ".mp4" ".webm") eos)))
|
(seq (+? nonl) (or ".mp4" ".webm") eos)))
|
||||||
"Match hyperlinks to browse with mpv.")
|
"Match hyperlinks to open with mpv.")
|
||||||
|
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
`(browse-url-generic-program ,(or (when (eq system-type 'darwin) "open")
|
`(browse-url-generic-program ,(or (when (eq system-type 'darwin) "open")
|
||||||
|
Loading…
Reference in New Issue
Block a user