aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2021-01-14 17:21:56 -0500
committerStefan Monnier2021-01-14 17:21:56 -0500
commit9422ff45654e07371d17d804131fafbf697b6e1e (patch)
treebff01ce01013455402927363717e32442ef16f93
parent5039f79340c408f26f9fb606ce29e72afc2fb01d (diff)
downloademacs-9422ff45654e07371d17d804131fafbf697b6e1e.tar.gz
emacs-9422ff45654e07371d17d804131fafbf697b6e1e.zip
* lisp/startup.el (command-line): Remove redundant set of no-blinking-cursor
This was set when (or noninteractive emacs-basic-display), but the code that sets `emacs-basic-display` also sets `no-blinking-cursor` and `blink-cursor-mode`s value already tests `noninteractive` alongside `no-blinking-cursor`.
-rw-r--r--lisp/startup.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 0ad5c2f1796..932b3ffcd42 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1288,8 +1288,7 @@ please check its value")
1288 (if (or noninteractive emacs-basic-display) 1288 (if (or noninteractive emacs-basic-display)
1289 (setq menu-bar-mode nil 1289 (setq menu-bar-mode nil
1290 tab-bar-mode nil 1290 tab-bar-mode nil
1291 tool-bar-mode nil 1291 tool-bar-mode nil))
1292 no-blinking-cursor t))
1293 (frame-initialize)) 1292 (frame-initialize))
1294 1293
1295 (when (fboundp 'x-create-frame) 1294 (when (fboundp 'x-create-frame)