mirror of
https://codeberg.org/cage/tinmop/
synced 2025-01-15 02:36:03 +01:00
allow editor to be nil
This commit is contained in:
parent
f8352e5212
commit
61c8adb649
@ -63,7 +63,9 @@
|
||||
(let ((error-message
|
||||
(_ "No editor found, please configure the 'editor' directive in your configuration file"))
|
||||
(editor (or (swconf:external-editor)
|
||||
(getenv "EDITOR"))))
|
||||
(getenv "VISUAL")
|
||||
(getenv "EDITOR")
|
||||
"ed")))
|
||||
(if (null editor)
|
||||
(error error-message)
|
||||
(let ((space (cl-ppcre:scan "\\s" editor)))
|
||||
|
@ -757,8 +757,8 @@
|
||||
4))
|
||||
|
||||
(defun external-editor ()
|
||||
(access-non-null-conf-value *software-configuration*
|
||||
+key-editor+))
|
||||
(access:access *software-configuration*
|
||||
+key-editor+))
|
||||
|
||||
(defun color-regexps ()
|
||||
(access:accesses *software-configuration*
|
||||
|
Loading…
Reference in New Issue
Block a user