Function: help-command-error-confusable-suggestions

help-command-error-confusable-suggestions is a byte-compiled function defined in help.el.gz.

Signature

(help-command-error-confusable-suggestions DATA CONTEXT SIGNAL)

Source Code

;; Defined in /usr/src/emacs/lisp/help.el.gz
(defun help-command-error-confusable-suggestions (data context signal)
  ;; Delegate most of the work to the original default value of
  ;; `command-error-function' implemented in C.
  (command-error-default-function data context signal)
  (pcase data
    (`(void-variable ,var)
     (let ((suggestions (help-uni-confusable-suggestions
                         (symbol-name var))))
       (when suggestions
         (princ (concat "\n  " suggestions) t))))
    (_ nil)))