universal-ctags / citre

A superior code reading & auto-completion tool with pluggable backends.
GNU General Public License v3.0
326 stars 26 forks source link

citre-peek--make-session: Wrong type argument: stringp, nil #94

Closed masatake closed 3 years ago

masatake commented 3 years ago

M-x citre-peek reports the error when nothing is at the point.

Backtrace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  substring-no-properties(nil)
  citre-peek--make-session(#<buffer core.c> 156935)
  citre-peek()
  funcall-interactively(citre-peek)
  call-interactively(citre-peek nil nil)
  command-execute(citre-peek)
AmaiKinono commented 3 years ago

Should be fixed, please test.

masatake commented 3 years ago

Works fine. Thank you.