X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pspp-mode.el;h=c12acdfbe132b07bbff78e767c091795e9a1da9d;hb=b561da06cecf48556e94b4e033bd749eeba3bef7;hp=356cfdc0cac45d758bea119a3965e33fef817eb3;hpb=164d1274fcb70c54897f2a03fc7c27152ed4821a;p=pspp diff --git a/pspp-mode.el b/pspp-mode.el index 356cfdc0ca..c12acdfbe1 100644 --- a/pspp-mode.el +++ b/pspp-mode.el @@ -1,30 +1,29 @@ -;;; 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 ;; 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 ;; Copyright (C) 2000, 2003 Scott Andrew Borton -;; This program 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 2 of -;; the License, or (at your option) any later version. - -;; This program is distributed in the hope that it will be -;; useful, but WITHOUT ANY WARRANTY; without even the implied -;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -;; PURPOSE. See the GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public -;; License along with this program; if not, write to the Free -;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -;; MA 02110-1301 USA +;; This program 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 3 of the License, or +;; (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . ;;; Code: (defvar pspp-mode-hook nil) @@ -34,6 +33,7 @@ pspp-mode-map) "Keymap for PSPP major mode") +;;;+++autoload (add-to-list 'auto-mode-alist '("\\.sps\\'" . pspp-mode)) @@ -257,7 +257,7 @@ ;; 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) @@ -677,7 +677,7 @@ ) "Highlighting expressions for PSPP mode.") - +;;;+++autoload (defun pspp-mode () (interactive) (kill-all-local-variables)