Function: todo-set-show-current-file

todo-set-show-current-file is a byte-compiled function defined in todo-mode.el.gz.

Signature

(todo-set-show-current-file SYMBOL VALUE)

Documentation

The :set function for user option todo-show-current-file(var)/todo-show-current-file(fun).

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun todo-set-show-current-file (symbol value)
  "The :set function for user option `todo-show-current-file'."
  (custom-set-default symbol value)
  (if value
      (add-hook 'pre-command-hook #'todo-show-current-file nil t)
    (remove-hook 'pre-command-hook #'todo-show-current-file t)))