+2003-05-31 Stefan Monnier <monnier@cs.yale.edu>
+
+ * wid-edit.el (widget-specify-insert): Simplify.
+ (widget-editable-list-entry-create): Don't assume that %d and %i are
+ in the format string.
+ (widget-map-buttons): Remove unused var `parent'.
+ (widget-move): Remove unused shadowed var `new'.
+ (widget-color-action): Remove unused var `pos'.
+
+ * cus-edit.el (custom-get-fresh-buffer): New fun.
+ (custom-buffer-create, custom-buffer-create-other-window)
+ (customize-browse): Use it instead of killing buffers.
+ (custom-bury-buffer): Obey the argument.
+ (custom-variable-reset-saved, custom-variable-reset-standard):
+ Remove unused var `comment-widget'.
+ (custom-face-edit-deactivate): Remove unused var `to'.
+ (custom-save-variables): Remove unused var `sep'.
+
2003-05-31 John Paul Wallington <jpw@gnu.org>
* files.el (large-file-warning-threshold): Add type, groups.
2003-05-31 Juanma Barranquero <lektu@terra.es>
* misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
- (upcase-char, forward-to-word, backward-to-word): Moved from
- unused.el.
+ (upcase-char, forward-to-word, backward-to-word): Moved from unused.el.
* unused.el: Deleted (contents moved to misc.el).
* subr.el (looking-back): New function to check for regular
expression before point.
-2003-05-30 Mark A. Hershberger <mah@everybody.org> (tiny change)
-
- * xml.el (xml-parse-tag): Fix bug: Handle both styles
- of empty elements in the same way.
-
2003-05-30 Stefan Monnier <monnier@cs.yale.edu>
+ * newcomment.el (comment-empty-lines): New var.
+ (comment-region-internal): Use it.
+
+ * textmodes/tex-mode.el (latex-block-args-alist)
+ (latex-block-body-alist): New vars.
+ (latex-insert-block): Use them.
+ (tex-string-prefix-p): New fun.
+ (tex-guess-main-file): Use it to detect when the main file
+ is in a parent directory.
+ (tex-main-file): Try to find a main-file in parent directories.
+ (tex-compile-default): Don't use `gv' on pdf files just because
+ `gv' was used recently on a ps file. Remove unused arg `dir'.
+ Reuse a previous command as-is if it applied to the same file.
+ (tex-compile): Use the right file name when file is not in dir.
+
+ * textmodes/refill.el (refill-adjust-ignorable-overlay):
+ Don't hardcode pint-min == 1.
+ (refill-fill-paragraph-at): Use a more robust method to detect
+ when the paragraph is after point. Remove unused var `fill-pfx'.
+
+ * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
+ for <foo/>, to make it behave like <foo></foo>.
+
* emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
and debug to inside the macro.
(edebug-read-storing-offsets): Simplify.
;;; mac-win.el --- support for "Macintosh windows"
-;; Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+;; Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
;; Author: Andrew Choi <akochoi@mac.com>
'(lambda ()
(defvar mac-ready-for-drag-n-drop t)))
-(defun iconify-or-deiconify-frame ()
- "Iconify the selected frame, or deiconify if it's currently an icon."
- (interactive)
- (if (eq (cdr (assq 'visibility (frame-parameters))) t)
- (iconify-frame)
- (make-frame-visible)))
-
; Define constant values to be set to mac-keyboard-text-encoding
(defconst kTextEncodingMacRoman 0)
(defconst kTextEncodingISOLatin1 513 "0x201")