Samuel Wales wrote:
What more needs to be done to get rid of that warning?
Thanks.
;;(unless (functionp 'scroll-lock-mode) (defun ...
(require 'scroll-lock)
(eval-when-compile (require 'scroll-lock))
(eval-when (eval load compile) (require 'scroll-lock))
(defun alpha-1 ()
"even more of a kludge to restore sanity after simultaneous scrolling."
(interactive)
(one-window)
(require 'scroll-lock)
(scroll-lock-mode 0))
How are you calling scroll-lock-mode and how are you compiling the file?
I don't get any warnings with M-x byte-compile-file in emacs 23.2,
started with -Q, on this file:
-------- foo.el --------
(defun foo ()
(scroll-lock-mode 0))
-------- foo.el --------