X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/35fb32880c99aa7cd41b835dc17b8639b544dc69..026b174672c427b035009911de305992a94098d6:/lisp/scroll-lock.el diff --git a/lisp/scroll-lock.el b/lisp/scroll-lock.el index b42b26e98a..bdae2e5a2d 100644 --- a/lisp/scroll-lock.el +++ b/lisp/scroll-lock.el @@ -1,9 +1,9 @@ ;;; scroll-lock.el --- Scroll lock scrolling. -;; Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 2005-2014 Free Software Foundation, Inc. ;; Author: Ralf Angeli -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; Created: 2005-06-18 ;; This file is part of GNU Emacs. @@ -49,10 +49,12 @@ ;;;###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 @@ -123,5 +125,4 @@ during scrolling." (provide 'scroll-lock) -;; arch-tag: 148fc8e8-67e0-4638-bb34-3291595ab7e1 ;;; scroll-lock.el ends here