无法在 Emacs 中隐藏欢迎屏幕 [英] Unable to hide welcome screen in Emacs

查看:20
本文介绍了无法在 Emacs 中隐藏欢迎屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想隐藏欢迎屏幕.

我的 .emacs 文件:

 (setq c-basic-offset 4) ; indents 4 chars
 (setq tab-width 4)          ; and 4 char wide for TAB
 (setq indent-tabs-mode nil) ; And force use of spaces
 
 (turn-on-font-lock)       ; same as syntax on in Vim
 
 (setq width (max width (+ (length str) 1)))   ;line numbers
 
 (setq inhibit-splash-screen t)         ; hide welcome screen

我试图在我的 .emacs 中运行最后一行代码失败.

I have tried to run the last line of code in my .emacs unsuccessfully.

如何在 Emacs 中隐藏欢迎屏幕?

How can you hide the welcome screen in Emacs?

推荐答案

将以下内容添加到您的 $HOME/.emacs:

Add the following to your $HOME/.emacs:

(setq inhibit-startup-screen t)

下次启动 Emacs 时,不应出现欢迎屏幕.如果您已经用欢迎屏幕打开了 Emacs,您可以使用 C-x k(Control-x,然后是 k)关闭它.

The next time you start Emacs, the welcome screen shouldn't appear. If you already have Emacs open with the welcome screen, you can kill it with C-x k (Control-x, then k).

这篇关于无法在 Emacs 中隐藏欢迎屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆