From 7114f997281dd775ef7746d9168894070f042e01 Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Sun, 24 Dec 2017 07:57:29 +0100 Subject: Fix compatibility with emacs-24 * helm-utils.el (helm-goto-char): outline-show-subtree doesn't exists in emacs-24. --- helm-utils.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helm-utils.el') 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 -- cgit v1.2.3