Skip to content

Commit

Permalink
Some fixes to follow coding conventions in files maintained by FSF.
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanik committed Jul 15, 2001
1 parent faf5309 commit 2521c4c
Show file tree
Hide file tree
Showing 125 changed files with 272 additions and 163 deletions.
39 changes: 39 additions & 0 deletions lisp/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
2001-07-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz>

* abbrevlist.el, array.el, buff-menu.el, calendar/appt.el,
case-table.el, cdl.el, cmuscheme.el, compare-w.el, completion.el,
custom.el, derived.el, dired-aux.el, disp-table.el, dos-vars.el,
echistory.el, electric.el, emacs-lisp/authors.el,
emacs-lisp/backquote.el, emacs-lisp/byte-opt.el,
emacs-lisp/bytecomp.el, emacs-lisp/float.el, emacs-lisp/gulp.el,
emacs-lisp/helper.el, emacs-lisp/lisp-mode.el,
emacs-lisp/regexp-opt.el, emulation/mlconvert.el,
emulation/mlsupport.el, env.el, fast-lock.el, find-dired.el,
float-sup.el, frame.el, gnus/gnus-mule.el, gnus/pop3.el, gs.el,
gud.el, help-macro.el, hexl.el, imenu.el, info.el, informat.el,
international/codepage.el, international/iso-ascii.el,
international/iso-insert.el, international/iso-transl.el,
international/swedish.el, isearch.el, jka-compr.el, kermit.el,
lazy-lock.el, ledit.el, loadup.el, lpr.el, ls-lisp.el, macros.el,
mail/blessmail.el, mail/emacsbug.el, mail/mail-extr.el,
mail/mailabbrev.el, mail/mailpost.el, mail/rmail.el,
mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmsc.el,
mail/rmailout.el, mail/rmailsort.el, mail/rmailsum.el,
mail/vms-pmail.el, man.el, map-ynp.el, menu-bar.el, misc.el,
msb.el, net/ange-ftp.el, net/goto-addr.el, novice.el,
obsolete/auto-show.el, obsolete/hilit19.el, obsolete/ooutline.el,
obsolete/rnews.el, obsolete/rnewspost.el, options.el, paren.el,
paths.el, play/dissociate.el, play/doctor.el, play/hanoi.el,
play/meese.el, progmodes/compile.el, progmodes/ebrowse.el,
progmodes/hideif.el, progmodes/modula2.el, register.el, rot13.el,
saveplace.el, scroll-bar.el, server.el, sort.el, soundex.el,
term/bg-mouse.el, term/pc-win.el, term/sup-mouse.el,
term/tty-colors.el, terminal.el, textmodes/bib-mode.el,
textmodes/makeinfo.el, textmodes/page.el, textmodes/paragraphs.el,
textmodes/picture.el, textmodes/scribe.el, textmodes/spell.el,
textmodes/tex-mode.el, textmodes/text-mode.el,
textmodes/underline.el, thingatpt.el, time.el, timer.el,
unused.el, vcursor.el, version.el, vms-patch.el, vmsproc.el,
vt100-led.el, window.el: Some fixes to follow coding conventions in
files maintained by FSF.

2001-07-13 Pavel Jan,Bm(Bk <Pavel@Janik.cz>

* arc-mode.el: A fix to follow coding conventions.
Expand Down
4 changes: 3 additions & 1 deletion lisp/abbrevlist.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; abbrevlist.el --- list one abbrev table alphabetically ordered.
;;; abbrevlist.el --- list one abbrev table alphabetically ordered

;; Copyright (C) 1986, 1992 Free Software Foundation, Inc.
;; Suggested by a previous version by Gildea.
Expand All @@ -23,6 +23,8 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:

(defun list-one-abbrev-table (abbrev-table output-buffer)
Expand Down
2 changes: 1 addition & 1 deletion lisp/array.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; array.el --- array editing commands for Gnu Emacs
;;; array.el --- array editing commands for GNU Emacs

;; Copyright (C) 1987, 2000 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/buff-menu.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; buff-menu.el --- buffer menu main function and support functions.
;;; buff-menu.el --- buffer menu main function and support functions

;; Copyright (C) 1985, 86, 87, 93, 94, 95, 2000 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/calendar/appt.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; appt.el --- appointment notification functions.
;;; appt.el --- appointment notification functions

;; Copyright (C) 1989, 1990, 1994, 1998 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/case-table.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; case-table.el --- code to extend the character set and support case tables.
;;; case-table.el --- code to extend the character set and support case tables

;; Copyright (C) 1988, 1994 Free Software Foundation, Inc.

Expand Down
2 changes: 2 additions & 0 deletions lisp/cdl.el
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:

(defun cdl-get-file (filename)
Expand Down
2 changes: 1 addition & 1 deletion lisp/cmuscheme.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; cmuscheme.el --- Scheme process in a buffer. Adapted from tea.el.
;;; cmuscheme.el --- Scheme process in a buffer. Adapted from tea.el

;; Copyright (C) 1988, 1994, 1997 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/compare-w.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; compare-w.el --- compare text between windows for Emacs.
;;; compare-w.el --- compare text between windows for Emacs

;; Copyright (C) 1986, 1989, 1993, 1997 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ Must be called after `find-exact-completion'."

(defun locate-completion-db-error ()
;; recursive error: really scrod
(error "Completion database corrupted. Try M-x clear-all-completions. Send bug report."))
(error "Completion database corrupted. Try M-x clear-all-completions. Send bug report"))

;; WRITES
(defun add-completion-to-tail-if-new (string)
Expand Down
2 changes: 1 addition & 1 deletion lisp/custom.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; custom.el -- Tools for declaring and initializing options.
;;; custom.el --- tools for declaring and initializing options
;;
;; Copyright (C) 1996, 1997, 1999, 2001 Free Software Foundation, Inc.
;;
Expand Down
2 changes: 1 addition & 1 deletion lisp/derived.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; derived.el --- allow inheritance of major modes.
;;; derived.el --- allow inheritance of major modes
;;; (formerly mode-clone.el)

;; Copyright (C) 1993, 1994, 1999 Free Software Foundation, Inc.
Expand Down
8 changes: 4 additions & 4 deletions lisp/dired-aux.el
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ This calls chmod, thus symbolic modes like `g+w' are allowed."
"Change the group of the marked (or next ARG) files."
(interactive "P")
(if (memq system-type '(ms-dos windows-nt))
(error "chgrp not supported on this system."))
(error "chgrp not supported on this system"))
(dired-do-chxxx "Group" "chgrp" 'chgrp arg))

;;;###autoload
(defun dired-do-chown (&optional arg)
"Change the owner of the marked (or next ARG) files."
(interactive "P")
(if (memq system-type '(ms-dos windows-nt))
(error "chown not supported on this system."))
(error "chown not supported on this system"))
(dired-do-chxxx "Owner" dired-chown-program 'chown arg))

;; Process all the files in FILES in batches of a convenient size,
Expand Down Expand Up @@ -452,7 +452,7 @@ the list of file names explicitly with the FILE-LIST argument."
(while (/= 0 arg)
(setq file (dired-get-filename nil t))
(if (not file)
(error "Can only kill file lines.")
(error "Can only kill file lines")
(save-excursion (and file
(dired-goto-subdir file)
(dired-kill-subdir)))
Expand Down Expand Up @@ -1902,7 +1902,7 @@ Lower levels are unaffected."
dir (file-name-directory (directory-file-name dir))))
;;(setq dir (expand-file-name dir))
(or (dired-goto-subdir dir)
(error "Cannot go up to %s - not in this tree." dir))))
(error "Cannot go up to %s - not in this tree" dir))))

;;;###autoload
(defun dired-tree-down ()
Expand Down
4 changes: 3 additions & 1 deletion lisp/disp-table.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; disp-table.el --- functions for dealing with char tables.
;;; disp-table.el --- functions for dealing with char tables

;; Copyright (C) 1987, 1994, 1995, 1999 Free Software Foundation, Inc.

Expand All @@ -24,6 +24,8 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:

(put 'display-table 'char-table-extra-slots 6)
Expand Down
6 changes: 5 additions & 1 deletion lisp/dos-vars.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; dos-vars.el --- MS-Dos specific user options.
;;; dos-vars.el --- MS-Dos specific user options

;; Copyright (C) 1998 Free Software Foundation, Inc.

Expand All @@ -22,6 +22,10 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:

(defgroup dos-fns nil
"MS-DOS specific functions."
:group 'environment)
Expand Down
2 changes: 2 additions & 0 deletions lisp/echistory.el
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:

(require 'electric) ; command loop
Expand Down
2 changes: 1 addition & 1 deletion lisp/electric.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; electric.el --- window maker and Command loop for `electric' modes.
;;; electric.el --- window maker and Command loop for `electric' modes

;; Copyright (C) 1985, 1986, 1995 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/emacs-lisp/authors.el
Original file line number Diff line number Diff line change
Expand Up @@ -468,4 +468,4 @@ the Emacs source tree, from which to build the file."
(authors root)
(write-file file)))

;; authors.el ends here
;;; authors.el ends here
2 changes: 1 addition & 1 deletion lisp/emacs-lisp/backquote.el
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@ Vectors work just like lists. Nested backquotes are permitted."
tail))
(t (cons 'list heads)))))

;; backquote.el ends here
;;; backquote.el ends here
4 changes: 2 additions & 2 deletions lisp/emacs-lisp/byte-opt.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; byte-opt.el --- the optimization passes of the emacs-lisp byte compiler.
;;; byte-opt.el --- the optimization passes of the emacs-lisp byte compiler

;;; Copyright (c) 1991, 1994, 2000, 2001 Free Software Foundation, Inc.

Expand Down Expand Up @@ -188,7 +188,7 @@

(defun byte-compile-log-lap-1 (format &rest args)
(if (aref byte-code-vector 0)
(error "The old version of the disassembler is loaded. Reload new-bytecomp as well."))
(error "The old version of the disassembler is loaded. Reload new-bytecomp as well"))
(byte-compile-log-1
(apply 'format format
(let (c a)
Expand Down
4 changes: 2 additions & 2 deletions lisp/emacs-lisp/bytecomp.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; bytecomp.el --- compilation of Lisp code into byte code.
;;; bytecomp.el --- compilation of Lisp code into byte code

;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1998, 2000
;; Free Software Foundation, Inc.
Expand All @@ -10,7 +10,7 @@

;;; This version incorporates changes up to version 2.10 of the
;;; Zawinski-Furuseth compiler.
(defconst byte-compile-version "$Revision: 2.82 $")
(defconst byte-compile-version "$Revision: 2.83 $")

;; This file is part of GNU Emacs.

Expand Down
2 changes: 1 addition & 1 deletion lisp/emacs-lisp/float.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; float.el --- obsolete floating point arithmetic package.
;;; float.el --- obsolete floating point arithmetic package

;; Copyright (C) 1986 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/emacs-lisp/gulp.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; gulp.el --- Ask for updates for Lisp packages
;;; gulp.el --- ask for updates for Lisp packages

;; Copyright (C) 1996 Free Software Foundation, Inc.

Expand Down
2 changes: 2 additions & 0 deletions lisp/emacs-lisp/helper.el
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:

;; hey, here's a helping hand.
Expand Down
2 changes: 1 addition & 1 deletion lisp/emacs-lisp/lisp-mode.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; lisp-mode.el --- Lisp mode, and its idiosyncratic commands.
;;; lisp-mode.el --- Lisp mode, and its idiosyncratic commands

;; Copyright (C) 1985, 1986, 1999, 2000, 2001 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/emacs-lisp/regexp-opt.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; regexp-opt.el --- generate efficient regexps to match strings.
;;; regexp-opt.el --- generate efficient regexps to match strings

;; Copyright (C) 1994,95,96,97,98,99,2000 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/emulation/mlconvert.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; mlconvert.el --- convert buffer of Mocklisp code to real lisp.
;;; mlconvert.el --- convert buffer of Mocklisp code to real lisp

;; Copyright (C) 1985 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/emulation/mlsupport.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; mlsupport.el --- run-time support for mocklisp code.
;;; mlsupport.el --- run-time support for mocklisp code

;; Copyright (C) 1985 Free Software Foundation, Inc.

Expand Down
2 changes: 1 addition & 1 deletion lisp/env.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; env.el --- functions to manipulate environment variables.
;;; env.el --- functions to manipulate environment variables

;; Copyright (C) 1991, 1994 Free Software Foundation, Inc.

Expand Down
4 changes: 2 additions & 2 deletions lisp/fast-lock.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; fast-lock.el --- Automagic text properties caching for fast Font Lock mode.
;;; fast-lock.el --- automagic text properties caching for fast Font Lock mode

;; Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.

Expand All @@ -7,7 +7,7 @@
;; Keywords: faces files
;; Version: 3.14

;;; This file is part of GNU Emacs.
;; This file is part of GNU Emacs.

;; 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
Expand Down
2 changes: 2 additions & 0 deletions lisp/find-dired.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:

(require 'dired)
Expand Down
2 changes: 2 additions & 0 deletions lisp/float-sup.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:

;; Provide a meaningful error message if we are running on
Expand Down
4 changes: 3 additions & 1 deletion lisp/frame.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; frame.el --- multi-frame management independent of window systems.
;;; frame.el --- multi-frame management independent of window systems

;; Copyright (C) 1993, 1994, 1996, 1997, 2000, 2001
;; Free Software Foundation, Inc.
Expand All @@ -23,6 +23,8 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;;; Code:

(defvar frame-creation-function nil
Expand Down
6 changes: 4 additions & 2 deletions lisp/gnus/gnus-mule.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; gnus-mule.el --- Provide backward compatibility function to GNUS
;;; gnus-mule.el --- provide backward compatibility function to GNUS

;; Copyright (C) 1995,1997 Free Software Foundation, Inc.
;; Copyright (C) 1995, 2000 Electrotechnical Laboratory, JAPAN.
Expand Down Expand Up @@ -28,6 +28,8 @@
;; This file provides the function `gnus-mule-add-group' for backward
;; compatibility with old version of Gnus included in Emacs 20.

;;; Code:

(require 'gnus-sum)

;;;###autoload
Expand Down Expand Up @@ -69,4 +71,4 @@ rather than using this function."

(provide 'gnus-mule)

;; gnus-mule.el ends here
;;; gnus-mule.el ends here
4 changes: 2 additions & 2 deletions lisp/gnus/pop3.el
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Used for APOP authentication.")
((equal 'pass pop3-authentication-scheme)
(pop3-user process pop3-maildrop)
(pop3-pass process))
(t (error "Invalid POP3 authentication scheme.")))
(t (error "Invalid POP3 authentication scheme")))
(setq message-count (car (pop3-stat process)))
(pop3-quit process)
message-count))
Expand Down Expand Up @@ -293,7 +293,7 @@ If NOW, use that time instead."
(pop3-send-command process (format "USER %s" user))
(let ((response (pop3-read-response process t)))
(if (not (and response (string-match "+OK" response)))
(error (format "USER %s not valid." user)))))
(error (format "USER %s not valid" user)))))

(defun pop3-pass (process)
"Send authentication information to the server."
Expand Down
2 changes: 1 addition & 1 deletion lisp/gs.el
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ the form \"WINDOW-ID PIXMAP-ID\". Value is non-nil if successful."

(provide 'gs)

;; gs.el ends here.
;;; gs.el ends here
Loading

0 comments on commit 2521c4c

Please sign in to comment.