Enable discord rich presence, Fix emacs not auto opening buffer when 1st argument is specifying a file to edit
This commit is contained in:
parent
5652263bef
commit
941168f490
|
|
@ -220,7 +220,8 @@ Install the package, enable it and ensure that it always is installed:
|
|||
:config
|
||||
(dashboard-setup-startup-hook))
|
||||
|
||||
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
|
||||
;; Fixes emacs not auto opening buffer when 1st argument is specifying a file to edit
|
||||
(setq initial-buffer-choice (lambda () (or (get-buffer "*dashboard*") (get-buffer (nth 1 command-line-args)))))
|
||||
#+END_SRC
|
||||
|
||||
**** Emacs Dashboard Configuration
|
||||
|
|
@ -714,12 +715,12 @@ Install the package, enable it and ensure that it always is installed, and then
|
|||
Rich Presence in Emacs for discord, `https://github.com/Mstrodl/elcord`
|
||||
|
||||
Install the package, enable it and ensure that it always is installed, and then enable the mode:
|
||||
+BEGIN_SRC emacs-lisp
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package elcord
|
||||
:ensure t
|
||||
:init
|
||||
(elcord-mode 1))
|
||||
+END_SRC
|
||||
#+END_SRC
|
||||
** Nix Mode
|
||||
An Emacs major mode for editing Nix expressions. There is also a manual available at nix-mode.org.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue