branch: externals/wcheck-mode
commit b41ff612a26e758a6e966f83f831f5dd8f1a3338
Author: Teemu Likonen <[email protected]>
Commit: Teemu Likonen <[email protected]>
Call outline-show-entry function instead of deprecated show-entry
---
wcheck-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/wcheck-mode.el b/wcheck-mode.el
index c17a6c0..857222a 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -67,7 +67,7 @@
(eval-when-compile
;; Silence compiler
- (declare-function show-entry "outline"))
+ (declare-function outline-show-entry "outline"))
;;; Settings
@@ -1160,7 +1160,7 @@ requested it."
(set-window-point window (overlay-end ol))
(goto-char (overlay-end ol)))
(when (invisible-p (point))
- (show-entry))
+ (outline-show-entry))
(message "Found from line %s"
(line-number-at-pos (point)))
(wcheck--force-read buffer))
@@ -1177,7 +1177,7 @@ requested it."
(set-window-point window (overlay-start ol))
(goto-char (overlay-start ol)))
(when (invisible-p (point))
- (show-entry))
+ (outline-show-entry))
(message "Found from line %s"
(line-number-at-pos (point)))
(wcheck--force-read buffer))