diff options
| -rw-r--r-- | .emacs | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -46,9 +46,6 @@ ;; ;; Same story with M-h (mark-paragraph) which gets re-bound by eg ;; markdown-mode and nxml-mode. -;; -;; NB: help and mark-defun are still accessible using H instead of h, -;; except in a terminal. (define-key input-decode-map (kbd "C-h") (kbd "DEL")) (define-key input-decode-map (kbd "C-M-h") (kbd "M-DEL")) @@ -596,9 +593,10 @@ (with-temp-buffer (call-process-region text nil "pandoc" nil t nil "--from" markup "--to" "html") - ;; TODO: could gui-set-selection help here? The docstring makes + ;; TODO: could `gui-set-selection' help here? The docstring makes ;; it sound like passing a value with a 'text/html property set to ;; the HTML string should work, but empirically it doesn't. + ;; Maybe look into `selection-converter-alist'. (call-process-region nil nil "xclip" nil nil nil "-selection" "clipboard" "-target" "text/html"))) |
