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

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

[nongnu] elpa/undo-fu-session 51e09de000 05/53: Use forward slash in fil


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu-session 51e09de000 05/53: Use forward slash in filename regex
Date: Thu, 7 Jul 2022 12:05:14 -0400 (EDT)

branch: elpa/undo-fu-session
commit 51e09de0005a421c4cefdc947121c27b17db1173
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Use forward slash in filename regex
    
    Apparently this works on WIN32, so is acceptable as an example.
---
 readme.rst         | 2 +-
 undo-fu-session.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/readme.rst b/readme.rst
index 015668315b..f54b1cd2c2 100644
--- a/readme.rst
+++ b/readme.rst
@@ -97,7 +97,7 @@ The package is available in melpa as ``undo-fu-session``, 
here is an example wit
 
    (use-package undo-fu-session
      :config
-     (setq undo-fu-session-incompatible-files '("COMMIT_EDITMSG$" 
"git-rebase-todo$")))
+     (setq undo-fu-session-incompatible-files '("/COMMIT_EDITMSG\\'" 
"/git-rebase-todo\\'")))
 
    (global-undo-fu-session-mode)
 
diff --git a/undo-fu-session.el b/undo-fu-session.el
index e47e276a5c..3f80d49a64 100644
--- a/undo-fu-session.el
+++ b/undo-fu-session.el
@@ -58,7 +58,7 @@
   :type 'boolean)
 
 (defcustom undo-fu-session-incompatible-files '()
-  "List of regexps or functions for matching file names to ignore for undo 
session."
+  "List of REGEXP or FUNCTION for matching files to ignore for undo session."
   :group 'undo-fu-session
   :type '(repeat (choice regexp function)))
 



reply via email to

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