Adding new line on string on how to upgrade Emacs

The current string presented breaks the address on how to upgrade Emacs:

```
❯ doom install
Detected Emacs 26.3 (at emacs).

Doom only supports Emacs 27.1 and newer. A guide to install a newer version
of Emacs can be found at:

  https://doomemacs.org/docs/getting_started.org#on-linuxAborting...
```

Just adding a `\n` at the end of the string would solve it.
This commit is contained in:
Alexandre de Siqueira 2021-07-26 17:45:52 -07:00 committed by GitHub
parent cf1fa4eeba
commit 44c8d3c8e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@
(concat "Detected Emacs " emacs-version " (at " (car command-line-args) ").\n\n" (concat "Detected Emacs " emacs-version " (at " (car command-line-args) ").\n\n"
"Doom only supports Emacs 27.1 and newer. A guide to install a newer version\n" "Doom only supports Emacs 27.1 and newer. A guide to install a newer version\n"
"of Emacs can be found at:\n\n " "of Emacs can be found at:\n\n "
(format "https://doomemacs.org/docs/getting_started.org#%s" (format "https://doomemacs.org/docs/getting_started.org#%s\n"
(cond ((eq system-type 'darwin) "on-macos") (cond ((eq system-type 'darwin) "on-macos")
((memq system-type '(cygwin windows-nt ms-dos)) "on-windows") ((memq system-type '(cygwin windows-nt ms-dos)) "on-windows")
("on-linux"))) ("on-linux")))