aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2003-05-31 16:03:11 +0000
committerStefan Monnier2003-05-31 16:03:11 +0000
commita52eeda8236cd73ca2e4568daa77ec7457a4fc36 (patch)
treed6dcf301c002be4a83c7f339d225e01e1b9cda03
parent407e43be4464632703b93b7eba3b7595c09c3e12 (diff)
downloademacs-a52eeda8236cd73ca2e4568daa77ec7457a4fc36.tar.gz
emacs-a52eeda8236cd73ca2e4568daa77ec7457a4fc36.zip
(iconify-or-deiconify-frame): Move to frame.el.
-rw-r--r--lisp/ChangeLog49
-rw-r--r--lisp/term/mac-win.el9
2 files changed, 43 insertions, 15 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9b80beda61c..1597c731eaa 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,21 @@
12003-05-31 Stefan Monnier <monnier@cs.yale.edu>
2
3 * wid-edit.el (widget-specify-insert): Simplify.
4 (widget-editable-list-entry-create): Don't assume that %d and %i are
5 in the format string.
6 (widget-map-buttons): Remove unused var `parent'.
7 (widget-move): Remove unused shadowed var `new'.
8 (widget-color-action): Remove unused var `pos'.
9
10 * cus-edit.el (custom-get-fresh-buffer): New fun.
11 (custom-buffer-create, custom-buffer-create-other-window)
12 (customize-browse): Use it instead of killing buffers.
13 (custom-bury-buffer): Obey the argument.
14 (custom-variable-reset-saved, custom-variable-reset-standard):
15 Remove unused var `comment-widget'.
16 (custom-face-edit-deactivate): Remove unused var `to'.
17 (custom-save-variables): Remove unused var `sep'.
18
12003-05-31 John Paul Wallington <jpw@gnu.org> 192003-05-31 John Paul Wallington <jpw@gnu.org>
2 20
3 * files.el (large-file-warning-threshold): Add type, groups. 21 * files.el (large-file-warning-threshold): Add type, groups.
@@ -12,8 +30,7 @@
122003-05-31 Juanma Barranquero <lektu@terra.es> 302003-05-31 Juanma Barranquero <lektu@terra.es>
13 31
14 * misc.el (mark-beginning-of-buffer, mark-end-of-buffer) 32 * misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
15 (upcase-char, forward-to-word, backward-to-word): Moved from 33 (upcase-char, forward-to-word, backward-to-word): Moved from unused.el.
16 unused.el.
17 34
18 * unused.el: Deleted (contents moved to misc.el). 35 * unused.el: Deleted (contents moved to misc.el).
19 36
@@ -43,13 +60,31 @@
43 * subr.el (looking-back): New function to check for regular 60 * subr.el (looking-back): New function to check for regular
44 expression before point. 61 expression before point.
45 62
462003-05-30 Mark A. Hershberger <mah@everybody.org> (tiny change)
47
48 * xml.el (xml-parse-tag): Fix bug: Handle both styles
49 of empty elements in the same way.
50
512003-05-30 Stefan Monnier <monnier@cs.yale.edu> 632003-05-30 Stefan Monnier <monnier@cs.yale.edu>
52 64
65 * newcomment.el (comment-empty-lines): New var.
66 (comment-region-internal): Use it.
67
68 * textmodes/tex-mode.el (latex-block-args-alist)
69 (latex-block-body-alist): New vars.
70 (latex-insert-block): Use them.
71 (tex-string-prefix-p): New fun.
72 (tex-guess-main-file): Use it to detect when the main file
73 is in a parent directory.
74 (tex-main-file): Try to find a main-file in parent directories.
75 (tex-compile-default): Don't use `gv' on pdf files just because
76 `gv' was used recently on a ps file. Remove unused arg `dir'.
77 Reuse a previous command as-is if it applied to the same file.
78 (tex-compile): Use the right file name when file is not in dir.
79
80 * textmodes/refill.el (refill-adjust-ignorable-overlay):
81 Don't hardcode pint-min == 1.
82 (refill-fill-paragraph-at): Use a more robust method to detect
83 when the paragraph is after point. Remove unused var `fill-pfx'.
84
85 * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
86 for <foo/>, to make it behave like <foo></foo>.
87
53 * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent 88 * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
54 and debug to inside the macro. 89 and debug to inside the macro.
55 (edebug-read-storing-offsets): Simplify. 90 (edebug-read-storing-offsets): Simplify.
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index ecc7db8d7a2..c3777410a40 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1,6 +1,6 @@
1;;; mac-win.el --- support for "Macintosh windows" 1;;; mac-win.el --- support for "Macintosh windows"
2 2
3;; Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. 3;; Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
4 4
5;; Author: Andrew Choi <akochoi@mac.com> 5;; Author: Andrew Choi <akochoi@mac.com>
6 6
@@ -172,13 +172,6 @@ Switch to a buffer editing the last file dropped."
172 '(lambda () 172 '(lambda ()
173 (defvar mac-ready-for-drag-n-drop t))) 173 (defvar mac-ready-for-drag-n-drop t)))
174 174
175(defun iconify-or-deiconify-frame ()
176 "Iconify the selected frame, or deiconify if it's currently an icon."
177 (interactive)
178 (if (eq (cdr (assq 'visibility (frame-parameters))) t)
179 (iconify-frame)
180 (make-frame-visible)))
181
182; Define constant values to be set to mac-keyboard-text-encoding 175; Define constant values to be set to mac-keyboard-text-encoding
183(defconst kTextEncodingMacRoman 0) 176(defconst kTextEncodingMacRoman 0)
184(defconst kTextEncodingISOLatin1 513 "0x201") 177(defconst kTextEncodingISOLatin1 513 "0x201")