diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-12-24 07:57:29 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-12-24 07:57:29 +0100 |
commit | 7114f997281dd775ef7746d9168894070f042e01 (patch) | |
tree | c828ce3e69916071276344313d92490f0413bde1 /helm-utils.el | |
parent | 5b2057c7755f6ea20e1ea011c6fb992d12650161 (diff) |
Fix compatibility with emacs-24
* helm-utils.el (helm-goto-char): outline-show-subtree doesn't exists
in emacs-24.
Diffstat (limited to 'helm-utils.el')
-rw-r--r-- | helm-utils.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-utils.el b/helm-utils.el index 5d202c85..d94acc4e 100644 --- a/helm-utils.el +++ b/helm-utils.el @@ -409,7 +409,7 @@ Default is `helm-current-buffer'." (let ((fn (cond ((eq major-mode 'org-mode) #'org-reveal) ((and (boundp 'outline-minor-mode) outline-minor-mode) - #'outline-show-subtree)))) + (lambda () (outline-flag-subtree nil)))))) ;; outline may fail in some conditions e.g. with markdown enabled ;; (issue #1919). (condition-case nil |