* Safe variables in sort.el
@ 2007-08-21 17:25 Reiner Steib
2007-08-22 3:15 ` Richard Stallman
0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2007-08-21 17:25 UTC (permalink / raw)
To: emacs-devel
Hi,
I think `sort-fold-case' and `sort-numeric-base' should be marked as
safe and the change should go to Emacs 22.2 as well. Any objection?
--8<---------------cut here---------------start------------->8---
--- sort.el 04 Aug 2007 20:36:16 +0200 1.62
+++ sort.el 21 Aug 2007 19:21:35 +0200
@@ -39,6 +39,7 @@
"*Non-nil if the buffer sort functions should ignore case."
:group 'sort
:type 'boolean)
+;;;###autoload(put 'sort-fold-case 'safe-local-variable 'booleanp)
;;;###autoload
(defun sort-subr (reverse nextrecfun endrecfun
@@ -258,6 +259,7 @@
"*The default base used by `sort-numeric-fields'."
:group 'sort
:type 'integer)
+;;;###autoload(put 'sort-numeric-base 'safe-local-variable 'integerp)
;;;###autoload
(defun sort-numeric-fields (field beg end)
--8<---------------cut here---------------end--------------->8---
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-22 19:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 17:25 Safe variables in sort.el Reiner Steib
2007-08-22 3:15 ` Richard Stallman
2007-08-22 19:42 ` Reiner Steib
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.