diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 91d57cdb03..a9cfa19d4d 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1,4 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com> ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. @@ -36,7 +37,9 @@ #:use-module ((gnu packages compression) #:renamer (symbol-prefix-proc 'compression:)) #:use-module (gnu packages xml) - #:use-module (gnu packages glib)) + #:use-module (gnu packages glib) + #:use-module (guix utils) + #:use-module (srfi srfi-1)) (define-public emacs (package @@ -102,6 +105,17 @@ large Lisp programs. It has full Unicode support for nearly all human languages.") (license gpl3+))) +(define-public emacs-no-x-toolkit + (package (inherit emacs) + (name "emacs-no-x-toolkit") + (synopsis "The extensible, customizable, self-documenting text +editor (without an X toolkit)" ) + (inputs (alist-delete "gtk+" (package-inputs emacs))) + (arguments + (substitute-keyword-arguments (package-arguments emacs) + ((#:configure-flags flags) + `(cons "--with-x-toolkit=no" ,flags)))))) + ;;; ;;; Emacs hacking. |