emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/caml 6b24877 06/10: Fix the warning “‘view-mode-exit’ is


From: ELPA Syncer
Subject: [nongnu] elpa/caml 6b24877 06/10: Fix the warning “‘view-mode-exit’ is not known to be defined”
Date: Wed, 25 Aug 2021 02:57:19 -0400 (EDT)

branch: elpa/caml
commit 6b248778a4613faf8a57acd48043e68f0af1f7ff
Author: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Commit: Christophe Troestler <Christophe.Troestler@umons.ac.be>

    Fix the warning “‘view-mode-exit’ is not known to be defined”
---
 caml-help.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/caml-help.el b/caml-help.el
index d037b6c..63fc1d2 100644
--- a/caml-help.el
+++ b/caml-help.el
@@ -49,6 +49,7 @@
     (require 'caml-emacs)))
 
 (require 'info)
+(require 'view)
 
 ;; Loading or building databases.
 ;;
@@ -605,7 +606,7 @@ current buffer using \\[ocaml-qualified-identifier]."
           (let ((file (concat location (ocaml-uncapitalize module) ".mli")))
             (if (window-live-p same-window)
                 (progn (select-window same-window)
-                       (view-mode-exit view-return-to-alist view-exit-action))
+                       (view-mode-exit nil view-exit-action))
               ;; (view-buffer (find-file-noselect file) 'view))
               )
             (view-file-other-window file)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]