an-sh / flow-minor-mode

Emacs minor mode for editing flowtype files.
BSD 3-Clause "New" or "Revised" License
47 stars 16 forks source link

(void-function process) #16

Closed xdc0 closed 6 years ago

xdc0 commented 6 years ago

I'm getting the following error when placing the cursor in some sentence

eldoc void-function: process

This is the stacktrace

   1 Debugger entered--Lisp error: (void-function process)
   2   process(nil)
   3   flow-minor-maybe-delete-process("flow-minor-eldoc")
   4   flow-minor-eldoc-documentation-function()
   5   eldoc-print-current-symbol-info()
   6   #f(compiled-function () #<bytecode 0x400d900b>)()
   7   apply(#f(compiled-function () #<bytecode 0x400d900b>) nil)
   8   timer-event-handler([t 0 0 500000 nil #f(compiled-function () #<bytecode 0x400d900b>) nil idle 0])

Emacs version: GNU Emacs 26.0.90 flow-minor-mode version: 20180204.141

xdc0 commented 6 years ago

Looks like when-let is deprecated in Emacs 26. This is also reported in: https://github.com/raxod502/el-patch/issues/17 I'll provide a similar patch

xdc0 commented 6 years ago

Actually when-let is not required in flow-minor-maybe-delete-process. The PR above has more details.