aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-05-06 16:09:09 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-05-06 16:09:09 +0200
commitbe14566681f78aa5fe75fd66f31fb914db16ac5c (patch)
tree3d6c69ab5d46de5745fb7e18790134be9570e428 /gnu
parentc5b6a67e5ac2c424e8a912178b0e44d6d0198bb3 (diff)
downloadguix-be14566681f78aa5fe75fd66f31fb914db16ac5c.tar
guix-be14566681f78aa5fe75fd66f31fb914db16ac5c.tar.gz
gnu: Add emacs-auto-sudoedit.
* gnu/packages/emacs-xyz.scm (emacs-auto-sudoedit): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f844c76cd6..b53d71688e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1516,6 +1516,29 @@ This package turns this into an O(1) operation. It does so by assigning a
letter to each link using avy.")
(license license:gpl3+)))
+(define-public emacs-auto-sudoedit
+ (package
+ (name "emacs-auto-sudoedit")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ncaq/auto-sudoedit.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10p0hc95j382km8655pqld9wxg10j1f36czzppkdd6a55cxarv9f"))))
+ (propagated-inputs
+ `(("emacs-f" ,emacs-f)))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/ncaq/auto-sudoedit")
+ (synopsis "Automatically re-open read-only files with sudo")
+ (description
+ "This package automatically reopens a file or directory with
+@command{sudo} if it cannot write to it.")
+ (license license:expat)))
+
(define-public emacs-bbdb
(package
(name "emacs-bbdb")