]> git.eshelyaron.com Git - emacs.git/commit
* lisp/cedet/semantic/analyze/complete.el: Fix completion-at-point
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 23 Oct 2019 20:15:41 +0000 (16:15 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 23 Oct 2019 20:15:41 +0000 (16:15 -0400)
commit72e1e30afeb3e69797fb43af216e9d8c4945359f
tree0c463630876a8ce841dca367943e78fe52be4b35
parentb7037662e1111d55218fb2345f9ebb9ed3ebef13
* lisp/cedet/semantic/analyze/complete.el: Fix completion-at-point

Completion tables are not supposed to signal errors:

    emacs -q
    M-x semantic-mode
    ; visit a file supported by semantic, such as a C file
    ; put cursor in a blank space
    M-x completion-at-point
    It will error with: "Nothing to complete"

(semantic-analyze-possible-completions): Return nil instead of
signaling errors.
lisp/cedet/semantic/analyze/complete.el