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

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sun, 12 Dec 2010 10:31:01 UTC

Severity: minor

Tags: patch

Found in version 23.2.91

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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





This bug report was last modified 14 years and 79 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.