summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-06-09 06:00:35 +0100
committerjao <jao@gnu.org>2021-06-09 06:00:35 +0100
commitd9d8a503b791befb15a43c1a6e72b4b8d76fe1af (patch)
tree9b3ae14c352dd4dd3246f2d4d6c65bd3c21d2972 /lib
parentf9915edec184b1e1d1d379e3e1df0c1cbf2585e0 (diff)
downloadelibs-d9d8a503b791befb15a43c1a6e72b4b8d76fe1af.tar.gz
elibs-d9d8a503b791befb15a43c1a6e72b4b8d76fe1af.tar.bz2
tweaks
Diffstat (limited to 'lib')
-rw-r--r--lib/doc/jao-org-links.el2
-rw-r--r--lib/eos/jao-minibuffer.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/doc/jao-org-links.el b/lib/doc/jao-org-links.el
index ab07498..73c24b6 100644
--- a/lib/doc/jao-org-links.el
+++ b/lib/doc/jao-org-links.el
@@ -39,7 +39,7 @@
(real-file (if (file-exists-p sink-file) sink-file
(read-file-name "Import file: "
jao-org--sink-dir link link))))
- (shell-command (format "mv %s %s" real-file dest-path))))
+ (shell-command-to-string (format "mv %s %s" real-file dest-path))))
(if (jao-doc-view-is-pdf dest-path)
(jao-org-links--open-pdf full-link)
(browse-url (format "file://%s" (expand-file-name dest-path))))))
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index 7704194..cd63daa 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -155,7 +155,7 @@
:extend t))
(advice-add 'force-mode-line-update :after #'jao-minibuffer-refresh)
(advice-add 'select-window :after #'jao-minibuffer-refresh)
- (add-hook 'window-selection-change-functions #'jao-minibuffer-refresh)
+ ;; (add-hook 'window-selection-change-functions #'jao-minibuffer-refresh)
(jao-minibuffer-add-variable 'jao-minibuffer--mode-line-format order))
;;;###autoload