diff options
author | Guido van Rossum <guido@python.org> | 2000-09-01 23:18:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-09-01 23:18:22 (GMT) |
commit | 73eec6360bdcae7e534b5391b447b1c38ba7c6ed (patch) | |
tree | 434646fcd288ec24ddb7b14b5c222ad2cf580f52 /Misc | |
parent | 0fdd3dcc45aeb196a6a2d7e5e0374d34369c47be (diff) | |
download | cpython-73eec6360bdcae7e534b5391b447b1c38ba7c6ed.zip cpython-73eec6360bdcae7e534b5391b447b1c38ba7c6ed.tar.gz cpython-73eec6360bdcae7e534b5391b447b1c38ba7c6ed.tar.bz2 |
Deleted. Long obsolete.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ccpy-style.el | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Misc/ccpy-style.el b/Misc/ccpy-style.el deleted file mode 100644 index bb2d2f4..0000000 --- a/Misc/ccpy-style.el +++ /dev/null @@ -1,48 +0,0 @@ -;;; ccpy-style.el --- cc-mode style definition for Python C code -;; -;; Author: 1996 Barry A. Warsaw -;; Created: 6-Dec-1996 -;; Keywords: c python languages oop - -;;; Commentary -;; -;; NOTE: This file is obsolete! All current versions of CC Mode -;; include a "python" style by default. - -;; This file defines the standard C coding style for Python C files -;; and modules. It is compatible with cc-mode.el which should be a -;; standard part of your Emacs distribution (or see -;; <http://www.python.org/emacs/cc-mode>). - -;; To use, make sure this file is on your Emacs load-path, and simply -;; add this to your .emacs file: -;; -;; (add-hook 'c-mode-common-hook '(lambda () (require 'python-style))) - -;; This file will self-install on your c-style-alist variable, -;; although you will have to install it on a per-file basis with: -;; -;; M-x c-set-style RET python RET - -;;; Code: - -(defconst python-cc-style - '((indent-tabs-mode . t) - (c-basic-offset . 8) - (c-offsets-alist . ((substatement-open . 0) - )) - (c-hanging-braces-alist . ((brace-list-open) - (brace-list-intro) - (brace-list-close) - (substatement-open after) - (block-close . c-snug-do-while) - )) - ) - "Standard Python C coding style.") - -(require 'cc-mode) -(if (not (assoc "python" c-style-alist)) - (c-add-style "python" python-cc-style)) - -(provide 'ccpy-style) -;;; ccpy-style.el ends here |