Closed sanel closed 2 years ago
When fzf-switch-buffer is called, directory will be nil, causing Emacs to report error:
fzf-switch-buffer
error in process sentinel: concat: Wrong type argument: stringp, nil
This commit checks if directory is nil and ignore file-name-as-directory call in that case.
+1. I was about to submit a similar PR, glad I checked first :)
When
fzf-switch-buffer
is called, directory will be nil, causing Emacs to report error:This commit checks if directory is nil and ignore file-name-as-directory call in that case.