Function: so-long-handle-file-local-mode
so-long-handle-file-local-mode is a byte-compiled function defined in
so-long.el.gz.
Signature
(so-long-handle-file-local-mode MODE)
Documentation
Wrapper for calling so-long-file-local-mode-function.
The function is called with one argument, MODE, being the file-local mode which was established.
Source Code
;; Defined in /usr/src/emacs/lisp/so-long.el.gz
(defun so-long-handle-file-local-mode (mode)
"Wrapper for calling `so-long-file-local-mode-function'.
The function is called with one argument, MODE, being the file-local mode which
was established."
;; Handle the special case whereby the file-local mode was `so-long-mode'.
;; In this instance we set `so-long--inhibited', because the file-local mode
;; is already going to do everything that is wanted.
(when (provided-mode-derived-p mode 'so-long-mode)
(setq so-long--inhibited t))
;; Call `so-long-file-local-mode-function'.
(when so-long-file-local-mode-function
(funcall so-long-file-local-mode-function mode)))