emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/term/x-win.el,v


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/lisp/term/x-win.el,v
Date: Sat, 23 Aug 2008 15:50:16 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Nick Roberts <nickrob>  08/08/23 15:50:08

Index: x-win.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/term/x-win.el,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -b -r1.233 -r1.234
--- x-win.el    11 Aug 2008 01:23:07 -0000      1.233
+++ x-win.el    23 Aug 2008 15:50:06 -0000      1.234
@@ -1669,6 +1669,7 @@
 (defun x-gtk-map-stock (file)
   "Map icon with file name FILE to a Gtk+ stock name, using `x-gtk-stock-map'."
   (if (stringp file)
+      (save-match-data
       (let* ((file-sans (file-name-sans-extension file))
             (key (and (string-match "/\\([^/]+/[^/]+/[^/]+$\\)" file-sans)
                       (match-string 1 file-sans)))
@@ -1678,7 +1679,7 @@
                  (or value (setq value (assoc-string (or key file-sans)
                                                      assoc)))))
              icon-map-list)
-       (and value (cdr value)))
+         (and value (cdr value))))
     nil))
 
 (provide 'x-win)




reply via email to

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