next : no dead code
This commit is contained in:
parent
961bb84e29
commit
68e2d0ac1d
1 changed files with 0 additions and 10 deletions
10
next/next.go
10
next/next.go
|
|
@ -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.
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue