]> code.delx.au - gnu-emacs/blobdiff - lisp/vt100-led.el
Merge from trunk.
[gnu-emacs] / lisp / vt100-led.el
index e8f370835f10cdf15fefd268eb99e0e5c32eb110..8a4b4ac288c514c58a9e46cc9b2f429e29e2ba2b 100644 (file)
@@ -1,12 +1,17 @@
-;; Functions for controlling the LEDs on VT-100 terminals & clones.
-;; Copyright (C) 1988 Free Software Foundation, Inc.
+;;; vt100-led.el --- functions for LED control on VT-100 terminals & clones
+
+;; Copyright (C) 1988, 2001-2011 Free Software Foundation, Inc.
+
+;; Author: Howard Gayle
+;; Maintainer: FSF
+;; Keywords: hardware
 
 ;; This file is part of GNU Emacs.
 
-;; GNU Emacs is free software; you can redistribute it and/or modify
+;; GNU Emacs is free software: you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 1, or (at your option)
-;; any later version.
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
 
 ;; GNU Emacs is distributed in the hope that it will be useful,
 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
 ;; GNU General Public License for more details.
 
 ;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING.  If not, write to
-;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 
+;;; Commentary:
 
-;; Written by Howard Gayle.
+;;; Code:
 
 (defvar led-state (make-vector 5 nil)
-   "The internal state of the LEDs.  Choices are nil, t, `flash.
+   "The internal state of the LEDs.  Choices are nil, t, `flash'.
 Element 0 is not used.")
 
 (defun led-flash (l)
@@ -38,7 +43,7 @@ Element 0 is not used.")
   (led-update))
 
 (defun led-on (l)
-  "Turn on LED l."
+  "Turn on LED L."
   (aset led-state l t)
   (led-update))
 
@@ -59,3 +64,5 @@ Element 0 is not used.")
     (send-string-to-terminal o)))
 
 (provide 'vt100-led)
+
+;;; vt100-led.el ends here