projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(C3-2F5B): Omit `=>>>ucs@cns'.
[chise/xemacs-chise.git-]
/
lisp
/
bytecomp.el
diff --git
a/lisp/bytecomp.el
b/lisp/bytecomp.el
index
56eb532
..
a7bbe8d
100644
(file)
--- a/
lisp/bytecomp.el
+++ b/
lisp/bytecomp.el
@@
-1284,7
+1284,7
@@
otherwise pop it")
(setq unreferenced (nreverse unreferenced))
(while unreferenced
(byte-compile-warn
(setq unreferenced (nreverse unreferenced))
(while unreferenced
(byte-compile-warn
- (format "variable %s bound but not referenced" (car unreferenced)))
+ "variable %s bound but not referenced" (car unreferenced))
(setq unreferenced (cdr unreferenced)))))
\f
(setq unreferenced (cdr unreferenced)))))
\f
@@
-1822,7
+1822,11
@@
With argument, insert value in current buffer after the form."
(if (and (featurep 'utf-2000)
(re-search-backward "\\\\u[0-9A-Fa-f]+" nil t))
'utf-8-mcs-unix
(if (and (featurep 'utf-2000)
(re-search-backward "\\\\u[0-9A-Fa-f]+" nil t))
'utf-8-mcs-unix
- 'binary))))
+ 'binary)
+ (when (featurep 'utf-2000)
+ (goto-char (point-min))
+ (if (re-search-forward "\\\\u[0-9A-Fa-f]+" nil t)
+ 'utf-8-mcs-unix)))))
(setq ces 'binary))
(if (eq ces 'binary)
(setq buffer-file-coding-system 'binary)
(setq ces 'binary))
(if (eq ces 'binary)
(setq buffer-file-coding-system 'binary)
@@
-2439,7
+2443,10
@@
If FORM is a lambda or a macro, byte-compile it as a function."
(body (cdr (cdr fun)))
(doc (if (stringp (car body))
(prog1 (car body)
(body (cdr (cdr fun)))
(doc (if (stringp (car body))
(prog1 (car body)
- (setq body (cdr body)))))
+ ;; Discard the doc string
+ ;; only if it is not the only element of the body.
+ (if (cdr body)
+ (setq body (cdr body))))))
(int (assq 'interactive body)))
(dolist (arg arglist)
(cond ((not (symbolp arg))
(int (assq 'interactive body)))
(dolist (arg arglist)
(cond ((not (symbolp arg))
@@
-2939,7
+2946,7
@@
If FORM is a lambda or a macro, byte-compile it as a function."
(byte-defop-compiler char-after 0-1+1)
(byte-defop-compiler set-buffer 1)
;;(byte-defop-compiler set-mark 1) ;; obsolete
(byte-defop-compiler char-after 0-1+1)
(byte-defop-compiler set-buffer 1)
;;(byte-defop-compiler set-mark 1) ;; obsolete
-(byte-defop-compiler forward-word 1+1)
+(byte-defop-compiler forward-word 0-1+1)
(byte-defop-compiler char-syntax 1+1)
(byte-defop-compiler nreverse 1)
(byte-defop-compiler car-safe 1)
(byte-defop-compiler char-syntax 1+1)
(byte-defop-compiler nreverse 1)
(byte-defop-compiler car-safe 1)
@@
-3914,7
+3921,7
@@
If FORM is a lambda or a macro, byte-compile it as a function."
;; `defconst' sets `var' unconditionally.
`(setq ,var ,value)
;; `defvar' sets `var' only when unbound.
;; `defconst' sets `var' unconditionally.
`(setq ,var ,value)
;; `defvar' sets `var' only when unbound.
- `(if (not (boundp ',var)) (setq ,var ,value))))
+ `(if (not (default-boundp ',var)) (set-default ',var ,value))))
`',var))))
(defun byte-compile-autoload (form)
`',var))))
(defun byte-compile-autoload (form)