Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0027258d
Commit
0027258d
authored
May 16, 2006
by
Reiner Steib
Browse files
(byte-compile-warnings-safe-p): New
function. (byte-compile-warnings): Fix safe-local-variable property.
parent
64686e6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/bytecomp.el
+14
-1
No files found.
lisp/ChangeLog
View file @
0027258d
2006-05-16 Reiner Steib <Reiner.Steib@gmx.de>
* emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p): New
function.
(byte-compile-warnings): Fix safe-local-variable property.
2006-05-16 Ken Manheimer <ken.manheimer@gmail.com>
* allout.el (allout-show-bodies, allout-old-style-prefixes)
...
...
lisp/emacs-lisp/bytecomp.el
View file @
0027258d
...
...
@@ -357,7 +357,20 @@ Elements of the list may be be:
(const callargs) (const redefine)
(const obsolete) (const noruntime)
(const cl-functions) (const interactive-only))))
;;;###autoload(put 'byte-compile-warnings 'safe-local-variable 'booleanp)
(put 'byte-compile-warnings 'safe-local-variable 'byte-compile-warnings-safe-p)
;;;###autoload
(defun byte-compile-warnings-safe-p (x)
(or (booleanp x)
(and (listp x)
(equal (mapcar
(lambda (e)
(when (memq e '(free-vars unresolved
callargs redefine
obsolete noruntime
cl-functions interactive-only))
e))
x)
x))))
(defvar byte-compile-interactive-only-functions
'(beginning-of-buffer end-of-buffer replace-string replace-regexp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment