branch: externals/hyperbole
commit b945f447767a09fd7c3eeea9bf7d44ec38d6d15c
Author: bw <r...@gnu.org>
Commit: bw <r...@gnu.org>

    hpath:external-file-suffixes - Remove .rs as image format, use Rust
    
    This fixes gh#765 where Rust files were displayed externally rather
    than within Emacs.
---
 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