diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-07-04 21:32:21 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-07-07 07:19:15 +0000 |
commit | d2c8a7a975be56584155e48633d44ec7f6ab20dc (patch) | |
tree | f5ca8e639d89d8010ef7e17e3a5e1602443c233d /app-emacs | |
parent | app-emacs/ghc-mod: remove ebuild from files directory! (diff) | |
download | gentoo-d2c8a7a975be56584155e48633d44ec7f6ab20dc.tar.gz gentoo-d2c8a7a975be56584155e48633d44ec7f6ab20dc.tar.bz2 gentoo-d2c8a7a975be56584155e48633d44ec7f6ab20dc.zip |
app-emacs/magit: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/1826
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/magit/files/magit-1.2.0-delete-directory.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/app-emacs/magit/files/magit-1.2.0-delete-directory.patch b/app-emacs/magit/files/magit-1.2.0-delete-directory.patch deleted file mode 100644 index 6c85345e9460..000000000000 --- a/app-emacs/magit/files/magit-1.2.0-delete-directory.patch +++ /dev/null @@ -1,33 +0,0 @@ -Fix byte-compile failure with Emacs 24.3.91. - -The upstream git repo has a more complicated fix which we don't use, -because the Gentoo package need not care about Emacs 22 and XEmacs -compatibility. Instead, always define magit-delete-directory as an -alias of delete-directory. This will work for all supported Emacs -versions. - ---- magit-1.2.0-orig/magit.el -+++ magit-1.2.0/magit.el -@@ -775,21 +775,7 @@ - after-change-functions) - ,@body))))) - -- (if (>= (magit-max-args-internal 'delete-directory) 2) -- (defalias 'magit-delete-directory 'delete-directory) -- (defun magit-delete-directory (directory &optional recursive) -- "Deletes a directory named DIRECTORY. If RECURSIVE is non-nil, --recursively delete all of DIRECTORY's contents as well. -- --Does not follow symlinks." -- (if (or (file-symlink-p directory) -- (not (file-directory-p directory))) -- (delete-file directory) -- (if recursive -- ;; `directory-files-no-dot-files-regex' borrowed from Emacs 23 -- (dolist (file (directory-files directory 'full "\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*")) -- (magit-delete-directory file recursive))) -- (delete-directory directory))))) -+ (defalias 'magit-delete-directory 'delete-directory)) - - ;;; Utilities - |