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

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

[elpa] externals/lentic 6ed73a2ef5 088/333: Add string transform functio


From: ELPA Syncer
Subject: [elpa] externals/lentic 6ed73a2ef5 088/333: Add string transform function.
Date: Tue, 27 Feb 2024 13:00:10 -0500 (EST)

branch: externals/lentic
commit 6ed73a2ef5e561a53d053b6397700d6008659b12
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>

    Add string transform function.
    
    Provides a function that is useful for advicing.
---
 linked-buffer.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/linked-buffer.el b/linked-buffer.el
index c81661dc7c..136ddee6f2 100644
--- a/linked-buffer.el
+++ b/linked-buffer.el
@@ -220,6 +220,12 @@ or create it if it does not exist."
     :initarg :linked-mode))
   "Configuration which maintains two linked-buffers with the same contents.")
 
+(defun linked-buffer-insertion-string-transform (string)
+  "Transform the string that is about to be inserted.
+This function is not meant to do anything. It's useful to
+advice."
+  string)
+
 (defmethod linked-buffer-create ((conf linked-buffer-default-configuration))
   "Create the linked-buffer for this configuration.
 Given a `linked-buffer-configuration' object, create the linked-buffer



reply via email to

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