branch: elpa/doc-show-inline
commit ba8ad832107ffac3445571cdb8d52a6dfee25256
Author: Campbell Barton <ideasma...@gmail.com>
Commit: Campbell Barton <ideasma...@gmail.com>

    Cleanup: use private naming for mode management functions
---
 doc-show-inline.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc-show-inline.el b/doc-show-inline.el
index a1b9d89e79..468f3c9a72 100644
--- a/doc-show-inline.el
+++ b/doc-show-inline.el
@@ -959,7 +959,7 @@ Use STATE to enable/disable."
 ;; Developer note, use global hooks since these run before buffers are loaded.
 ;; Each function checks if the local mode is active before operating.
 
-(defun doc-show-inline-mode-enable (&optional is-interactive)
+(defun doc-show-inline--mode-enable (&optional is-interactive)
   "Turn on option `doc-show-inline-mode' for the current buffer.
 When IS-INTERACTIVE is true, use `doc-show-inline-idle-delay-init'."
 
@@ -983,7 +983,7 @@ When IS-INTERACTIVE is true, use 
`doc-show-inline-idle-delay-init'."
       ;; Repeat.
       t)))
 
-(defun doc-show-inline-mode-disable ()
+(defun doc-show-inline--mode-disable ()
   "Turn off option `doc-show-inline-mode' for the current buffer."
 
   (when doc-show-inline--use-lookup-cache
@@ -999,9 +999,9 @@ When IS-INTERACTIVE is true, use 
`doc-show-inline-idle-delay-init'."
   (cond
     (doc-show-inline-mode
       (unless doc-show-inline--inhibit-mode
-        (doc-show-inline-mode-enable (called-interactively-p 'interactive))))
+        (doc-show-inline--mode-enable (called-interactively-p 'interactive))))
     (t
-      (doc-show-inline-mode-disable))))
+      (doc-show-inline--mode-disable))))
 
 (provide 'doc-show-inline)
 ;;; doc-show-inline.el ends here

Reply via email to