2
## 51_todoo_bug267637.dpatch by Peter S Galbraith <psg@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
8
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
12
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
13
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
16
-patch) patch $patch_opts -p1 < $0;;
17
-unpatch) patch $patch_opts -p1 -R < $0;;
19
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
26
diff -urNad /home/psg/emacs/emacs-goodies-el/emacs-goodies-el/elisp/emacs-goodies-el/todoo.el emacs-goodies-el/elisp/emacs-goodies-el/todoo.el
27
--- /home/psg/emacs/emacs-goodies-el/emacs-goodies-el/elisp/emacs-goodies-el/todoo.el 2004-11-25 21:51:26.000000000 -0500
28
+++ emacs-goodies-el/elisp/emacs-goodies-el/todoo.el 2004-11-25 21:56:39.000000000 -0500
33
+;; 2004-11-24 Peter S Galbraith <psg@debian.org>
34
+;; Debian bug 267637 fix: changes to outline-regexp should be buffer-local.
35
+;; Thanks to Daniel Skarda <0rfelyus@hobitin.ucw.cz> for pointing it out.
37
;; 1.2 - Fixed bug in menu (todoo-show->todoo)
38
;; Fixed bug when deleting window in todoo-save-and-exit
39
;; Added early sub-item support (might be buggy, but still
41
(make-local-variable 'font-lock-defaults)
42
(setq font-lock-defaults '(todoo-font-lock-keywords t))
44
- (setq outline-regexp (concat "^\\(" (regexp-quote todoo-item-marker) " \\|"
45
- (regexp-quote todoo-item-marker-assigned)
46
- " \\|[ ]*" (regexp-quote todoo-sub-item-marker)
48
+ (set (make-local-variable 'outline-regexp)
49
+ (concat "^\\(" (regexp-quote todoo-item-marker) " \\|"
50
+ (regexp-quote todoo-item-marker-assigned)
51
+ " \\|[ ]*" (regexp-quote todoo-sub-item-marker)
54
(outline-minor-mode 1)