File: emacs_elpa.diff

package info (click to toggle)
pspp 1.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 39,336 kB
  • sloc: ansic: 213,872; sh: 12,384; xml: 12,291; perl: 1,000; lisp: 597; python: 258; makefile: 122
file content (52 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
debian packaging uses dh-elpa which requires a header

To use dh_elpa for packaging the emacs pspp mode
the pspp-mode.el file must have a proper header.
--- a/pspp-mode.el
+++ b/pspp-mode.el
@@ -1,13 +1,14 @@
-;;; 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>
 
@@ -32,6 +33,7 @@
     pspp-mode-map)
   "Keymap for PSPP major mode")
 
+;;;+++autoload
 (add-to-list 'auto-mode-alist '("\\.sps\\'" . pspp-mode))
 
 
@@ -255,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)
   
@@ -675,7 +677,7 @@
   )
 "Highlighting expressions for PSPP mode.")
 
-
+;;;+++autoload
 (defun pspp-mode ()
   (interactive)
   (kill-all-local-variables)