-;;; pspp-mode-el -- Major mode for editing PSPP files
+;;; pspp-mode.el --- Major mode for editing PSPP files
-;; Copyright (C) 2005 Free Software Foundation
+;; Copyright (C) 2005,2018 Free Software Foundation
+;; Author: Scott Andrew Borton <scott@pp.htv.fi>
;; Created: 05 March 2005
+;; Version: 1.0
;; Keywords: PSPP major-mode
+;; This file is not part of GNU Emacs.
-
-
+;;; Commentary:
;; Based on the example wpdl-mode.el by Scott Borton
-;; Author: Scott Andrew Borton <scott@pp.htv.fi>
;; Copyright (C) 2000, 2003 Scott Andrew Borton <scott@pp.htv.fi>
pspp-mode-map)
"Keymap for PSPP major mode")
+;;;+++autoload
(add-to-list 'auto-mode-alist '("\\.sps\\'" . pspp-mode))
;; String delimiters
(modify-syntax-entry ?' "\"" x-pspp-mode-syntax-table)
- (modify-syntax-entry ?" "\"" x-pspp-mode-syntax-table)
+ (modify-syntax-entry ?\" "\"" x-pspp-mode-syntax-table)
x-pspp-mode-syntax-table)
)
"Highlighting expressions for PSPP mode.")
-
+;;;+++autoload
(defun pspp-mode ()
(interactive)
(kill-all-local-variables)