emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105686: * lisp/progmodes/compile.el


From: Juri Linkov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105686: * lisp/progmodes/compile.el (compilation-environment): Make it a defcustom.
Date: Thu, 08 Sep 2011 15:12:18 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105686
fixes bug(s): http://debbugs.gnu.org/8340
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Thu 2011-09-08 15:12:18 +0300
message:
  * lisp/progmodes/compile.el (compilation-environment): Make it a defcustom.
modified:
  lisp/ChangeLog
  lisp/progmodes/compile.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-09-08 06:28:37 +0000
+++ b/lisp/ChangeLog    2011-09-08 12:12:18 +0000
@@ -1,3 +1,8 @@
+2011-09-08  Juri Linkov  <address@hidden>
+
+       * progmodes/compile.el (compilation-environment): Make it
+       a defcustom (bug#8340).
+
 2011-09-08  Martin Rudalics  <address@hidden>
 
        * window.el (frame-auto-delete): Rename to window-auto-delete.

=== modified file 'lisp/progmodes/compile.el'
--- a/lisp/progmodes/compile.el 2011-09-07 12:17:54 +0000
+++ b/lisp/progmodes/compile.el 2011-09-08 12:12:18 +0000
@@ -637,11 +637,15 @@
 and exit message; it returns a cons (MESSAGE . MODELINE) of the strings to
 write into the compilation buffer, and to put in its mode line.")
 
-(defvar compilation-environment nil
-  "*List of environment variables for compilation to inherit.
+(defcustom compilation-environment nil
+  "List of environment variables for compilation to inherit.
 Each element should be a string of the form ENVVARNAME=VALUE.
 This list is temporarily prepended to `process-environment' prior to
-starting the compilation process.")
+starting the compilation process."
+  :type '(repeat (string :tag "ENVVARNAME=VALUE"))
+  :options '(("LANG=C"))
+  :group 'compilation
+  :version "24.1")
 
 ;; History of compile commands.
 (defvar compile-history nil)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]