diff options
| author | Paul Eggert | 2015-09-01 16:53:08 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-09-01 16:54:01 -0700 |
| commit | 72aae7326b8e2264eb02e8f9725a367f62aa09fd (patch) | |
| tree | 8f9e70e91f41cf4efaef737733c21cc358cf93e7 | |
| parent | fea1e883c49687324e627f81841a80cdb25c41f5 (diff) | |
| download | emacs-72aae7326b8e2264eb02e8f9725a367f62aa09fd.tar.gz emacs-72aae7326b8e2264eb02e8f9725a367f62aa09fd.zip | |
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.
| -rw-r--r-- | lisp/startup.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 2f90c8d861a..b5e258f56c0 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1026,8 +1026,9 @@ please check its value") | |||
| 1026 | '("no" "off" "false" "0"))))) | 1026 | '("no" "off" "false" "0"))))) |
| 1027 | (setq no-blinking-cursor t)) | 1027 | (setq no-blinking-cursor t)) |
| 1028 | 1028 | ||
| 1029 | (startup--setup-quote-display) | 1029 | (unless noninteractive |
| 1030 | (setq internal--text-quoting-flag t) | 1030 | (startup--setup-quote-display) |
| 1031 | (setq internal--text-quoting-flag t)) | ||
| 1031 | 1032 | ||
| 1032 | ;; Re-evaluate predefined variables whose initial value depends on | 1033 | ;; Re-evaluate predefined variables whose initial value depends on |
| 1033 | ;; the runtime context. | 1034 | ;; the runtime context. |