emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 72aae73: Setup quote display only if interactive


From: Paul Eggert
Subject: [Emacs-diffs] master 72aae73: Setup quote display only if interactive
Date: Tue, 01 Sep 2015 23:54:04 +0000

branch: master
commit 72aae7326b8e2264eb02e8f9725a367f62aa09fd
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Setup quote display only if interactive
    
    * lisp/startup.el (command-line):
    Skip call to startup--setup-quote-display if noninteractive.
    Without this change, python-shell-prompt-validate-regexps-1
    fails in test/automated/python-tests.el when run in an
    en_US.utf8 locale on Fedora.
---
 lisp/startup.el |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/startup.el b/lisp/startup.el
index 2f90c8d..b5e258f 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1026,8 +1026,9 @@ please check its value")
                                '("no" "off" "false" "0")))))
     (setq no-blinking-cursor t))
 
-  (startup--setup-quote-display)
-  (setq internal--text-quoting-flag t)
+  (unless noninteractive
+    (startup--setup-quote-display)
+    (setq internal--text-quoting-flag t))
 
   ;; Re-evaluate predefined variables whose initial value depends on
   ;; the runtime context.



reply via email to

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