~ubuntu-branches/ubuntu/oneiric/gnuplot-mode/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/500_gnuplot.el_make-variable-buffer-local.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Fourmond
  • Date: 2011-02-13 01:24:14 UTC
  • Revision ID: james.westby@ubuntu.com-20110213012414-xuoonjyb6s888a3y
Tags: 1:0.6.0-7
* Update to newer location of the homepage
* Switching to 3.0 (quilt)
  - dropping build-dep on dpatch
  - and debian/README.source, now useless
* Switching to dh 7
* Fix links to gnuplot info, thanks to Kevin Ryde <user42@zip.com.au>
  (closes: 602557) -> 901_gnuplot.el.info-look.diff
* Try to apply the suggestion of Kevin Ryde to get rid of the need for
  gnuplot-setup-info-look (closes: 602561) 
  -> 902_automatic_info_look.diff
  (and it seems I even got it right !)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 500_gnuplot.el_make-variable-buffer-local.dpatch by Agustin Martin Domingo <agmartin@debian.org>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: Fixing a make-variable-buffer-local into a function
6
 
 
7
 
font-lock-defaults is already buffer-local when set in any fashion.
8
 
 
9
 
@DPATCH@
10
 
diff -urNad gnuplot-mode-0.6.0~/gnuplot.el gnuplot-mode-0.6.0/gnuplot.el
11
 
--- gnuplot-mode-0.6.0~/gnuplot.el      2002-12-13 22:40:51.000000000 +0100
12
 
+++ gnuplot-mode-0.6.0/gnuplot.el       2007-11-16 16:25:41.000000000 +0100
13
 
@@ -1837,7 +1837,6 @@
14
 
   ;;(if (not (fboundp 'hilit-set-mode-patterns))
15
 
   (if (featurep 'font-lock)
16
 
       (progn
17
 
-       (make-variable-buffer-local 'font-lock-defaults)
18
 
        (setq font-lock-defaults '(gnuplot-font-lock-keywords t t))
19
 
        (if gnuplot-xemacs-p (turn-on-font-lock))))
20
 
   ;;(if (featurep 'kw-compl)
21
 
@@ -2515,7 +2514,6 @@
22
 
   (if gnuplot-xemacs-p                 ; deal with font-lock
23
 
       (if (fboundp 'turn-on-font-lock) (turn-on-font-lock))
24
 
     (progn
25
 
-      (make-variable-buffer-local 'font-lock-defaults)
26
 
       (setq font-lock-defaults '(gnuplot-font-lock-keywords t t))))
27
 
 ;;   (if (and gnuplot-xemacs-p gnuplot-toolbar-display-flag)
28
 
 ;;       (condition-case ()            ; deal with the toolbar