[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/m-buffer 41ca2908a3 032/115: Added documentation for fo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/m-buffer 41ca2908a3 032/115: Added documentation for four functions. |
Date: |
Tue, 19 Jul 2022 15:58:46 -0400 (EDT) |
branch: externals/m-buffer
commit 41ca2908a373f484679803fbb0a679117ed4abeb
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Added documentation for four functions.
---
m-buffer.el | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/m-buffer.el b/m-buffer.el
index d8c5a46368..ef2873cb1e 100644
--- a/m-buffer.el
+++ b/m-buffer.el
@@ -425,12 +425,18 @@ MATCH is of the form BUFFER-OR-WINDOW MATCH-OPTIONS. See
match :regexp "\\\w+"))
(defun m-buffer-match-empty-line (&rest match)
+ "Returns a list of matches to all empty lines.
+MATCH is of the form BUFFER-OR-WINDOW MATCH-OPTIONS. See
+`m-buffer-match-data' for further details."
(m-buffer-apply-snoc
'm-buffer-match-data
match :regexp "^$"
:post-match 'm-buffer-post-match-forward-line))
(defun m-buffer-match-non-empty-line (&rest match)
+ "Returns a list of matches to all non-empty lines.
+MATCH is fo the form BUFFER-OR-WINDOW MATCH-OPTIONS. See
+`m-buffer-match-data' for further details."
(m-buffer-apply-snoc
'm-buffer-match-data
match :regexp "^.+$"))
@@ -547,10 +553,16 @@ otherwise use `m-buffer-overlay-face-match'."
(m-buffer-overlay-match match-data)))
(defun m-buffer-text-property-face (match-data face)
+ "To MATCH-DATA apply FACE. This is for use in buffers which do
+not have `font-lock-mode' enabled; otherwise use
+`m-buffer-text-property-font-lock-face'."
(m-buffer-put-text-property-match match-data
'face face))
(defun m-buffer-text-property-font-lock-face (match-data face)
+ "To MATCH-DATA apply FACE. This is for use in buffers which have
+`font-lock-mode' enabled; otherwise use
+`m-buffer-text-property-face'."
(m-buffer-put-text-property-match match-data
'font-lock-face face))
- [elpa] externals/m-buffer 22760408a5 013/115: Updated normalize tests to cope with extra widen argument., (continued)
- [elpa] externals/m-buffer 22760408a5 013/115: Updated normalize tests to cope with extra widen argument., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 5c46bf8102 017/115: Added function m-buffer-on-region -- apply a function to a region., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 8210f4147d 004/115: Move dev to test., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 650235fbdb 011/115: Build URL update., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 22d6b0d640 012/115: Beginning has become begin. Widen option added. New line matching functions., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer c65b7b20c0 014/115: match-data-1 was failing on final match due to off-by-one error., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 1cc4d8cffb 015/115: Added functions: m-buffer-marker-tree-to-pos, m-buffer-match-nth-group., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 27380daef5 018/115: Functions to add overlays and properties to buffers., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 41384768bc 024/115: Merge pull request #1 from syohex/fix-typo, ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer e4ec4daa87 027/115: replace-match now returns marker to the end of the replacements., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 41ca2908a3 032/115: Added documentation for four functions.,
ELPA Syncer <=
- [elpa] externals/m-buffer b7c9738f31 037/115: Update readme for 0.4 release., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 93f64edf1b 046/115: Added support for case-fold-search, ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 761ba8e4b7 049/115: Equals and subtract functionality added., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer a8d5ce9755 050/115: Performance enhancements to subtract., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer fd9d92a0aa 052/115: Added marmalade for noflet., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 8d351bb5fd 054/115: m-buffer-with-current-marker added., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer d6701d8ce2 044/115: Remove extraneous dash dependency to dash., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 25c2b37969 071/115: m-buffer-point renamed to m-buffer-at-point., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 5166d21792 081/115: Lentic documentation for m-buffer.el., ELPA Syncer, 2022/07/19
- [elpa] externals/m-buffer 22ef3ac985 005/115: Emacs 24 only!, ELPA Syncer, 2022/07/19