Emacs: Save helm-ff-history only if desktop is loaded

master
Pierre Neidhardt 2017-06-15 18:00:05 +01:00
parent a0a388d8f0
commit 9ad11fb099
1 changed files with 2 additions and 1 deletions

View File

@ -137,6 +137,7 @@ Requires `call-process-to-string' from `functions'."
(advice-add #'helm-preselect :around #'helm-skip-dots)
(advice-add #'helm-ff-move-to-first-real-candidate :around #'helm-skip-dots)
(add-to-list 'desktop-globals-to-save 'helm-ff-history)
(with-eval-after-load 'desktop
(add-to-list 'desktop-globals-to-save 'helm-ff-history))
(provide 'tool-helm)