]> git.eshelyaron.com Git - emacs.git/commitdiff
Setup quote display only if interactive
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Sep 2015 23:53:08 +0000 (16:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Sep 2015 23:54:01 +0000 (16:54 -0700)
* 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

index 2f90c8d861a35aa5ec3ed5c6a714829d48d01d41..b5e258f56c027d735d99f49dc6b9b19e3c0f0ba6 100644 (file)
@@ -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.