New fix emacs not auto opening buffer when 1st argument is specifying a file to edit
This commit is contained in:
parent
941168f490
commit
a88dee85c5
|
|
@ -221,7 +221,8 @@ Install the package, enable it and ensure that it always is installed:
|
|||
(dashboard-setup-startup-hook))
|
||||
|
||||
;; 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)))))
|
||||
(if (< (length command-line-args) 2)
|
||||
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))))
|
||||
#+END_SRC
|
||||
|
||||
**** Emacs Dashboard Configuration
|
||||
|
|
|
|||
Loading…
Reference in New Issue