Minor refactors across the board
- when-let* -> when-let - Fix projectile-locate-dominating-file for connected remote files
This commit is contained in:
parent
4ecf6c9414
commit
9a02bd8ac8
42 changed files with 114 additions and 110 deletions
|
@ -129,7 +129,7 @@ detected.")
|
|||
"Bump file in recent file list when it is switched or written to."
|
||||
(when buffer-file-name
|
||||
(recentf-add-file buffer-file-name))
|
||||
;; Return nil to call from `write-file-functions'
|
||||
;; Return nil for `write-file-functions'
|
||||
nil)
|
||||
(add-hook 'doom-switch-window-hook #'doom|recentf-touch-buffer)
|
||||
(add-hook 'write-file-functions #'doom|recentf-touch-buffer)
|
||||
|
@ -181,7 +181,7 @@ savehist file."
|
|||
:when (display-graphic-p)
|
||||
:after-call (pre-command-hook after-find-file)
|
||||
:init
|
||||
(when-let* ((name (getenv "EMACS_SERVER_NAME")))
|
||||
(when-let (name (getenv "EMACS_SERVER_NAME"))
|
||||
(setq server-name name))
|
||||
:config
|
||||
(unless (server-running-p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue