Function: table--point-entered/left-cell-function

table--point-entered/left-cell-function is a byte-compiled function defined in table.el.gz.

Signature

(table--point-entered/left-cell-function WINDOW OLDPOS DIR)

Documentation

Point has entered a cell.

Refresh the menu bar.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
(defun table--point-entered/left-cell-function (_window _oldpos dir)
  "Point has entered a cell.
Refresh the menu bar."
  ;; Avoid calling point-motion-hooks recursively.
  (let ((inhibit-point-motion-hooks t))
    (force-mode-line-update)
    (pcase dir
     ('left
      (setq table-mode-indicator nil)
      (run-hooks 'table-point-left-cell-hook))
     ('entered
      (setq table-mode-indicator t)
      (table--warn-incompatibility)
      (run-hooks 'table-point-entered-cell-hook)))))