next : no dead code

This commit is contained in:
bth 2026-01-19 07:57:47 -08:00
commit 68e2d0ac1d

View file

@ -70,16 +70,6 @@ func next(last string, desc string) (string, error) {
return n, nil return n, nil
} }
// TODO: if i decide to move the file creation logic here.
func emacsDate() (string, error) {
cmd := exec.Command("emacsclient", "--eval", "(format-time-string um-date-format)")
date, err := cmd.Output()
if err != nil {
return "", err
}
return string(date), nil
}
// calls (um-next) inside a running emacs server. which has the advantage of fetching the loaded // calls (um-next) inside a running emacs server. which has the advantage of fetching the loaded
// value of um-date-format, and respecting any other loaded configuration we might add. // value of um-date-format, and respecting any other loaded configuration we might add.
// //