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

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

[elpa] externals/hyperbole e26ab90 04/25: (hyperb:init): Remove WSL abbr


From: Stefan Monnier
Subject: [elpa] externals/hyperbole e26ab90 04/25: (hyperb:init): Remove WSL abbrev of /mnt/c as /c since may not exist
Date: Tue, 22 Sep 2020 10:29:26 -0400 (EDT)

branch: externals/hyperbole
commit e26ab90df058c6b17db7edc6892576e2db97337a
Author: Bob Weiner <Bob.Weiner@DuffandPhelps.com>
Commit: Bob Weiner <Bob.Weiner@DuffandPhelps.com>

    (hyperb:init): Remove WSL abbrev of /mnt/c as /c since may not exist
---
 Changes      | 10 ++++++++++
 hyperbole.el |  7 +++----
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/Changes b/Changes
index f1bc3b9..4c85148 100644
--- a/Changes
+++ b/Changes
@@ -12,6 +12,10 @@
 * hbdata.el (hbdata:write): Fixed so first explicit button created in a 
directory
     works before saving its source buffer (by saving the directory .hypb file).
 
+2020-07-19  Bob Weiner  <rsw@gnu.org>
+
+* hyperbole.el (hyperb:init): Remove WSL abbrev of /mnt/c as /c since may not 
exist.
+
 2020-07-08  Bob Weiner  <rsw@gnu.org>
 
 * hbut.el (hbut:delete, ibut:delete): Added.
@@ -77,6 +81,12 @@ V7.1.3 changes ^^^^:
                      end-of-visual-line,
                      kill-visual-line): Overrode in kotl-mode-map.
 
+2020-03-25  Bob Weiner  <rsw@gnu.org>
+
+* kotl/kotl-mode.el (kotl-mode:yank): Fix hypb:replace-match-string call to use
+    a replacement function rather than a string containing "\\0" which doesn't
+    work.
+
 2020-03-11  Bob Weiner  <rsw@gnu.org>
 
 * kotl/klink.el (require 'kcell): Removed, caused recursive require loop.
diff --git a/hyperbole.el b/hyperbole.el
index 57b4c7b..bfbe6a1 100644
--- a/hyperbole.el
+++ b/hyperbole.el
@@ -681,10 +681,9 @@ If FLAG is nil then text is shown, while if FLAG is t the 
text is hidden."
   ;; Conditionally initialize Hyperbole key bindings (when hkey-init is t).
   (hkey-initialize)
   ;;
-  ;; Abbreviate MSWindows mount point paths.
-  (when (or (file-exists-p "/mnt/c")
-           (file-exists-p "/cygdrive"))
-    (add-to-list 'directory-abbrev-alist '("\\`\\(/mnt\\|/cygdrive\\)/" . 
"/")))
+  ;; Abbreviate MSWindows /cygdrive mount point paths.
+  (when (file-exists-p "/cygdrive")
+    (add-to-list 'directory-abbrev-alist '("\\`/cygdrive/" . "/")))
   ;; When running under a POSIX system with possible access to MSWindows 
servers,
   ;; cache valid MSWindows mount points.
   (hpath:cache-mswindows-mount-points)



reply via email to

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