[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/sweeprolog 4ad04a8351 12/13: ; * sweeprolog.el: Add docstr
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/sweeprolog 4ad04a8351 12/13: ; * sweeprolog.el: Add docstrings for recently added functions |
Date: |
Sun, 17 Sep 2023 04:00:43 -0400 (EDT) |
branch: elpa/sweeprolog
commit 4ad04a8351d5e8b0426d73f4284222113b3f28aa
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>
; * sweeprolog.el: Add docstrings for recently added functions
---
sweeprolog.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sweeprolog.el b/sweeprolog.el
index a507d6753c..6a6c0fbd32 100644
--- a/sweeprolog.el
+++ b/sweeprolog.el
@@ -662,6 +662,7 @@ pack completion candidates."
;;;; Initialization
(defun sweeprolog--load-module (line)
+ "Load the dynamic module that LINE describes."
(save-match-data
(when (string-match (rx bos
(or "L" "M")
@@ -694,6 +695,7 @@ pack completion candidates."
"and up to date")))))))
(defun sweeprolog-ensure-initialized ()
+ "Initilize Prolog, unless already initilized."
(sweeprolog--ensure-module)
(sweeprolog-init))
@@ -715,6 +717,7 @@ extra initialization arguments."
(sweeprolog-setup-message-hook)))
(defun sweeprolog-maybe-kill-top-levels ()
+ "Ask before killing running Prolog top-levels."
(let ((top-levels (seq-filter (lambda (buffer)
(with-current-buffer buffer
(and (derived-mode-p
'sweeprolog-top-level-mode)
@@ -730,6 +733,7 @@ extra initialization arguments."
(sweeprolog-top-level-delete-process buffer)))))))
(defun sweeprolog-shutdown ()
+ "Shutdown Prolog."
(message "Stopping Sweep.")
(sweeprolog--query-once "sweep" "sweep_cleanup_threads" nil)
(sweeprolog-cleanup)
@@ -737,6 +741,7 @@ extra initialization arguments."
sweeprolog-prolog-server-port nil))
(defun sweeprolog-maybe-shutdown ()
+ "Ask before killing running top-levels and shutdown Prolog."
(when (sweeprolog-maybe-kill-top-levels)
(sweeprolog-shutdown)
t))
- [nongnu] elpa/sweeprolog 01c58b5e22 02/13: ; * sweeprolog.el (sweeprolog-hole): Avoid increasing text size, (continued)
- [nongnu] elpa/sweeprolog 01c58b5e22 02/13: ; * sweeprolog.el (sweeprolog-hole): Avoid increasing text size, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 3910fab192 03/13: Support Prettify Symbols and similar minor modes, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 3b08a46866 06/13: ; Fix error on Emacs 27 with no 'font-lock-keywords', ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog f2273adbcb 05/13: ENHANCED: Support pty top-level communication instead of TCP, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 556bf2ff3d 11/13: Set 'comint-process-echoes' for top-levels that use a tty, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 8939eb33bc 01/13: ; * sweep.texi (Extract Goal): Improve indexing, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 9fe5830e96 04/13: Provide basic 'prettify-symbols-alist' in Sweep Prolog mode, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 3e61fbdd08 09/13: Improve top-level threads management and cleanup, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 526c1fae14 13/13: Announce recent changes in NEWS.org and bump version to 0.25.0, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog fbd6e91a37 10/13: Improve top-level input fontification, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 4ad04a8351 12/13: ; * sweeprolog.el: Add docstrings for recently added functions,
ELPA Syncer <=
- [nongnu] elpa/sweeprolog c22703ff36 07/13: ; Don't refuse to kill top-level buffer with deleted process, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 2923357705 08/13: Check that top-level thread is alive when signaling it, ELPA Syncer, 2023/09/17