summaryrefslogtreecommitdiff
path: root/app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch')
-rw-r--r--app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch b/app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch
deleted file mode 100644
index bfd6bedd8983..000000000000
--- a/app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-http://bugs.gentoo.org/280293
-
---- color-theme-6.6.0-orig/color-theme.el 2006-05-28 15:07:29.000000000 +0200
-+++ color-theme-6.6.0/color-theme.el 2009-08-10 10:17:00.000000000 +0200
-@@ -72,11 +72,6 @@
- (string-match "XEmacs" emacs-version))
- "Non-nil if running XEmacs.")
-
--;; Add this since it appears to miss in emacs-2x
--(or (fboundp 'replace-in-string)
-- (defun replace-in-string (target old new)
-- (replace-regexp-in-string old new target)))
--
- ;; face-attr-construct has a problem in Emacs 20.7 and older when
- ;; dealing with inverse-video faces. Here is a short test to check
- ;; wether you are affected.
-@@ -1626,9 +1621,10 @@
- (add-to-list 'color-themes
- (list ',n
- (upcase-initials
-- (replace-in-string
-- (replace-in-string
-- (symbol-name ',n) "^color-theme-" "") "-" " "))
-+ (replace-regexp-in-string
-+ "-" " "
-+ (replace-regexp-in-string
-+ "^color-theme-" "" (symbol-name ',n))))
- ,author))
- (defun ,n ()
- ,description