summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-11-18 16:12:56 +0000
committerUlrich Müller <ulm@gentoo.org>2008-11-18 16:12:56 +0000
commit1c82b9298a67f2637c69a8929866b74318e65b82 (patch)
tree19cefb2a179136ec0e9036342460c604a9e92d77 /app-emacs/quilt-el
parent New virtuals: Compress-Zlib (diff)
downloadgentoo-2-1c82b9298a67f2637c69a8929866b74318e65b82.tar.gz
gentoo-2-1c82b9298a67f2637c69a8929866b74318e65b82.tar.bz2
gentoo-2-1c82b9298a67f2637c69a8929866b74318e65b82.zip
Initial import.
(Portage version: 2.2_rc14/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'app-emacs/quilt-el')
-rw-r--r--app-emacs/quilt-el/files/50quilt-el-gentoo.el10
-rw-r--r--app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch12
-rw-r--r--app-emacs/quilt-el/files/quilt-el-0.45.4-tramp-recursion.patch13
3 files changed, 35 insertions, 0 deletions
diff --git a/app-emacs/quilt-el/files/50quilt-el-gentoo.el b/app-emacs/quilt-el/files/50quilt-el-gentoo.el
new file mode 100644
index 000000000000..fb02530844e3
--- /dev/null
+++ b/app-emacs/quilt-el/files/50quilt-el-gentoo.el
@@ -0,0 +1,10 @@
+
+;;; quilt-el site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'quilt-mode "quilt"
+ "Toggle quilt-mode. With positive arg, enable quilt-mode." t)
+(autoload 'quilt-hook "quilt"
+ "Enable quilt mode for quilt-controlled files.")
+(add-hook 'find-file-hooks 'quilt-hook)
+(add-hook 'after-revert-hook 'quilt-hook)
diff --git a/app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch b/app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch
new file mode 100644
index 000000000000..cf1f1f809bce
--- /dev/null
+++ b/app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch
@@ -0,0 +1,12 @@
+Index: quilt-el/quilt.el
+===================================================================
+--- quilt-el.orig/quilt.el
++++ quilt-el/quilt.el
+@@ -399,6 +399,7 @@
+ (cd quilt-header-directory)
+ (shell-command (concat "EDITOR=cat quilt -r header <" tmp))
+ (kill-buffer (current-buffer))
++ (delete-window)
+ (delete-file tmp)))
+
+ (defvar quilt-header-mode-map (make-keymap)) \ No newline at end of file
diff --git a/app-emacs/quilt-el/files/quilt-el-0.45.4-tramp-recursion.patch b/app-emacs/quilt-el/files/quilt-el-0.45.4-tramp-recursion.patch
new file mode 100644
index 000000000000..f4650c88dd15
--- /dev/null
+++ b/app-emacs/quilt-el/files/quilt-el-0.45.4-tramp-recursion.patch
@@ -0,0 +1,13 @@
+Index: quilt-el/quilt.el
+===================================================================
+--- quilt-el.orig/quilt.el
++++ quilt-el/quilt.el
+@@ -25,7 +25,7 @@
+
+ (defun quilt-find-dir (fn)
+ "find the top level dir for quilt from fn"
+- (if (or (not fn) (equal fn "/"))
++ (if (or (not fn) (equal fn (file-name-directory fn)))
+ nil
+ (let ((d (file-name-directory fn)))
+ (if (file-accessible-directory-p (concat d "/.pc"))