]> code.delx.au - gnu-emacs/blobdiff - lisp/scroll-lock.el
* lisp/loadup.el: Count byte-code functions as well.
[gnu-emacs] / lisp / scroll-lock.el
index 87c984206396113e06d0b39d8f28cba449d3f1ba..c5c19c046f125a7c8a862dd35978c81ae5ff2082 100644 (file)
 ;;;###autoload
 (define-minor-mode scroll-lock-mode
   "Buffer-local minor mode for pager-like scrolling.
-Keys which normally move point by line or paragraph will scroll
-the buffer by the respective amount of lines instead and point
-will be kept vertically fixed relative to window boundaries
-during scrolling."
+With a prefix argument ARG, enable the mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.  When enabled, keys that normally move
+point by line or paragraph will scroll the buffer by the
+respective amount of lines instead and point will be kept
+vertically fixed relative to window boundaries during scrolling."
   :lighter " ScrLck"
   :keymap scroll-lock-mode-map
   (if scroll-lock-mode