mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-21 18:23:59 +00:00
(byte-compile-file-form-define-abbrev-table): New function.
This commit is contained in:
parent
d54ad49647
commit
b7c76a30f9
@ -1,3 +1,8 @@
|
||||
2007-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* emacs-lisp/bytecomp.el (byte-compile-file-form-define-abbrev-table):
|
||||
New function.
|
||||
|
||||
2007-11-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
|
||||
|
||||
* ps-print.el: Clean the code for checking suitable Emacs version.
|
||||
|
@ -2260,6 +2260,13 @@ list that represents a doc string reference.
|
||||
(byte-compile-top-level (nth 2 form) nil 'file))))
|
||||
form))
|
||||
|
||||
(put 'define-abbrev-table 'byte-hunk-handler 'byte-compile-file-form-define-abbrev-table)
|
||||
(defun byte-compile-file-form-define-abbrev-table (form)
|
||||
(when (and (byte-compile-warning-enabled-p 'free-vars)
|
||||
(eq 'quote (car-safe (car-safe (cdr form)))))
|
||||
(push (car-safe (cdr (cadr form))) byte-compile-bound-variables))
|
||||
(byte-compile-keep-pending form))
|
||||
|
||||
(put 'custom-declare-variable 'byte-hunk-handler
|
||||
'byte-compile-file-form-custom-declare-variable)
|
||||
(defun byte-compile-file-form-custom-declare-variable (form)
|
||||
|
Loading…
Reference in New Issue
Block a user