branch: externals/hyperbole
commit 645d44335744cd93fd50a870113f310649358e5a
Merge: cee1ea45d2 8268a458c1
Author: Robert Weiner <r...@gnu.org>
Commit: GitHub <nore...@github.com>

    Merge pull request #766 from rswgnu/rsw
    
    hpath:external-file-suffixes - Remove .rs as image format, use Rust
---
 ChangeLog | 6 ++++++
 hpath.el  | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 518dc4b25d..c8c42aae3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-07-27  Bob Weiner  <r...@gnu.org>
+
+*  hpath.el (hpath:external-file-suffixes): Remove old Sun Raster image format
+     .rs suffix which is now used for Rust code files instead.  This fixes
+     issue gh#765 where Rust code would open externally from Emacs.
+
 2025-07-07  Bob Weiner  <r...@gnu.org>
 
 * hywiki.el (hywiki-map-words):  Optimize and improve doc string.
diff --git a/hpath.el b/hpath.el
index 0bb15bbfee..2fb920f0e6 100644
--- a/hpath.el
+++ b/hpath.el
@@ -3,7 +3,7 @@
 ;; Author:       Bob Weiner
 ;;
 ;; Orig-Date:     1-Nov-91 at 00:44:23
-;; Last-Mod:     20-Jun-25 at 09:41:06 by Bob Weiner
+;; Last-Mod:     27-Jul-25 at 11:07:45 by Bob Weiner
 ;;
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 ;;
@@ -371,7 +371,7 @@ possible suffixes."
   :type 'string
   :group 'hyperbole-commands)
 
-(defcustom hpath:external-file-suffixes 
"e?ps\\|dvi\\|pdf\\|ps\\.g?[zZ]\\|gif\\|tiff?\\|xpm\\|xbm\\|xwd\\|pm\\|pbm\\|jpe?g\\|ra?s\\|xcf"
+(defcustom hpath:external-file-suffixes 
"e?ps\\|dvi\\|pdf\\|ps\\.g?[zZ]\\|gif\\|tiff?\\|xpm\\|xbm\\|xwd\\|pm\\|pbm\\|jpe?g\\|xcf"
   "*Non-operating system dependent regexp of file suffixes to open outside 
Emacs.
 These are opened with the Action Key when not handled by
 `hpath:native-image-suffixes'.  Do not include an initial period

Reply via email to