all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7619: 23.2.91; [PATCH] Mark outline-heading-end-regexp safe local
@ 2010-12-12 10:36 Leo
  2010-12-13 17:10 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Leo @ 2010-12-12 10:36 UTC (permalink / raw
  To: 7619

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






^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-04  8:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-12 10:36 bug#7619: 23.2.91; [PATCH] Mark outline-heading-end-regexp safe local Leo
2010-12-13 17:10 ` Stefan Monnier
2010-12-19  7:26   ` Leo
2011-03-04  4:56   ` Glenn Morris
2011-03-04  5:32     ` Leo
2011-03-04  8:40       ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.