bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7619: 23.2.91; [PATCH] Mark outline-heading-end-regexp safe local


From: Leo
Subject: bug#7619: 23.2.91; [PATCH] Mark outline-heading-end-regexp safe local
Date: Sun, 12 Dec 2010 10:36:09 +0000

There is a missing autoload to mark outline-heading-end-regexp safe
local while its doc string recommends setting it file locally. The
attached patch fixes this.

>From 32fb65f511efab56e2ec926cbc49d2e324832909 Mon Sep 17 00:00:00 2001
Date: Sun, 12 Dec 2010 10:33:19 +0000
Subject: [PATCH] Mark outline-heading-end-regexp safe local

with predicate string-or-null-p.
---
 lisp/outline.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lisp/outline.el b/lisp/outline.el
index b5d3d79..37adb1e 100644
--- a/lisp/outline.el
+++ b/lisp/outline.el
@@ -62,6 +62,7 @@ The recommended way to set this is with a `Local Variables:' 
list
 in the file it applies to."
   :type 'regexp
   :group 'outlines)
+;;;###autoload(put 'outline-heading-end-regexp 'safe-local-variable 
'string-or-null-p)
 
 (defvar outline-mode-prefix-map
   (let ((map (make-sparse-keymap)))
-- 
1.7.3






reply via email to

[Prev in Thread] Current Thread [Next in Thread]