Function: hack-one-local-variable--obsolete

hack-one-local-variable--obsolete is a byte-compiled function defined in files.el.gz.

Signature

(hack-one-local-variable--obsolete VAR)

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defun hack-one-local-variable--obsolete (var)
  (let ((o (get var 'byte-obsolete-variable)))
    (when o
      (let ((instead (nth 0 o))
            (since (nth 2 o)))
        (message "%s is obsolete%s; %s"
                 var (if since (format " (since %s)" since))
                 (if (stringp instead)
                     (substitute-command-keys instead)
                   (format-message "use `%s' instead" instead)))))))