FUEL: do not fail if there is no file associated with current buffer
parent
74075511c2
commit
a540ffdc36
|
@ -174,8 +174,11 @@ interacting with a factor listener is at your disposal.
|
||||||
(setq fuel-stack-mode-string "/S")
|
(setq fuel-stack-mode-string "/S")
|
||||||
(when fuel-mode-stack-p (fuel-stack-mode fuel-mode))
|
(when fuel-mode-stack-p (fuel-stack-mode fuel-mode))
|
||||||
|
|
||||||
(when (and fuel-mode (not (file-exists-p (buffer-file-name))))
|
(let ((file-name (buffer-file-name)))
|
||||||
(fuel-scaffold--maybe-insert)))
|
(when (and fuel-mode
|
||||||
|
file-name
|
||||||
|
(not (file-exists-p file-name)))
|
||||||
|
(fuel-scaffold--maybe-insert))))
|
||||||
|
|
||||||
|
|
||||||
;;; Keys:
|
;;; Keys:
|
||||||
|
|
Loading…
Reference in New Issue