diff options
| author | Bill Wohler | 2005-10-14 16:05:37 +0000 |
|---|---|---|
| committer | Bill Wohler | 2005-10-14 16:05:37 +0000 |
| commit | a10f4ace50d2747876c0bb0cce3acb58822f2769 (patch) | |
| tree | 4321ba95a5b81ea60b4b541a6b91db2c2713add2 | |
| parent | f28e9cbd37a11d734b4301a332661affee281aa2 (diff) | |
| download | emacs-a10f4ace50d2747876c0bb0cce3acb58822f2769.tar.gz emacs-a10f4ace50d2747876c0bb0cce3acb58822f2769.zip | |
* mh-seq.el (mh-non-seq-mode-line-annotation): Moved
make-variable-buffer-local call to top level to avoid warnings in CVS
Emacs.
* mh-comp.el (mh-insert-letter): Replaced deprecated read-input with
read-string.
| -rw-r--r-- | lisp/mh-e/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/mh-e/mh-comp.el | 8 | ||||
| -rw-r--r-- | lisp/mh-e/mh-seq.el | 3 |
3 files changed, 15 insertions, 5 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog index ac4e9242729..5c2e2b70654 100644 --- a/lisp/mh-e/ChangeLog +++ b/lisp/mh-e/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2005-10-14 Bill Wohler <wohler@newt.com> | ||
| 2 | |||
| 3 | * mh-seq.el (mh-non-seq-mode-line-annotation): Moved | ||
| 4 | make-variable-buffer-local call to top level to avoid warnings in | ||
| 5 | CVS Emacs. | ||
| 6 | |||
| 7 | * mh-comp.el (mh-insert-letter): Replaced deprecated read-input | ||
| 8 | with read-string. | ||
| 9 | |||
| 1 | 2005-10-09 Bill Wohler <wohler@newt.com> | 10 | 2005-10-09 Bill Wohler <wohler@newt.com> |
| 2 | 11 | ||
| 3 | * mh-init.el (mh-image-load-path): New function that adds the path | 12 | * mh-init.el (mh-image-load-path): New function that adds the path |
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el index a7af192ec40..7289207cfb2 100644 --- a/lisp/mh-e/mh-comp.el +++ b/lisp/mh-e/mh-comp.el | |||
| @@ -1430,10 +1430,10 @@ not indent and do not delete headers. Leaves the mark before the letter | |||
| 1430 | and point after it." | 1430 | and point after it." |
| 1431 | (interactive | 1431 | (interactive |
| 1432 | (list (mh-prompt-for-folder "Message from" mh-sent-from-folder nil) | 1432 | (list (mh-prompt-for-folder "Message from" mh-sent-from-folder nil) |
| 1433 | (read-input (concat "Message number" | 1433 | (read-string (concat "Message number" |
| 1434 | (if (numberp mh-sent-from-msg) | 1434 | (if (numberp mh-sent-from-msg) |
| 1435 | (format " (default %d): " mh-sent-from-msg) | 1435 | (format " (default %d): " mh-sent-from-msg) |
| 1436 | ": "))) | 1436 | ": "))) |
| 1437 | current-prefix-arg)) | 1437 | current-prefix-arg)) |
| 1438 | (save-restriction | 1438 | (save-restriction |
| 1439 | (narrow-to-region (point) (point)) | 1439 | (narrow-to-region (point) (point)) |
diff --git a/lisp/mh-e/mh-seq.el b/lisp/mh-e/mh-seq.el index 51847c2d59d..8459c6fdce6 100644 --- a/lisp/mh-e/mh-seq.el +++ b/lisp/mh-e/mh-seq.el | |||
| @@ -224,6 +224,8 @@ appears." | |||
| 224 | ;; Avoid compiler warning | 224 | ;; Avoid compiler warning |
| 225 | (defvar tool-bar-map) | 225 | (defvar tool-bar-map) |
| 226 | 226 | ||
| 227 | (make-variable-buffer-local 'mh-non-seq-mode-line-annotation) | ||
| 228 | |||
| 227 | ;;;###mh-autoload | 229 | ;;;###mh-autoload |
| 228 | (defun mh-narrow-to-seq (sequence) | 230 | (defun mh-narrow-to-seq (sequence) |
| 229 | "Restrict display of this folder to just messages in SEQUENCE. | 231 | "Restrict display of this folder to just messages in SEQUENCE. |
| @@ -243,7 +245,6 @@ Use \\<mh-folder-mode-map>\\[mh-widen] to undo this command." | |||
| 243 | (mh-notate-deleted-and-refiled) | 245 | (mh-notate-deleted-and-refiled) |
| 244 | (mh-notate-cur) | 246 | (mh-notate-cur) |
| 245 | (when msg-at-cursor (mh-goto-msg msg-at-cursor t t)) | 247 | (when msg-at-cursor (mh-goto-msg msg-at-cursor t t)) |
| 246 | (make-variable-buffer-local 'mh-non-seq-mode-line-annotation) | ||
| 247 | (setq mh-non-seq-mode-line-annotation mh-mode-line-annotation) | 248 | (setq mh-non-seq-mode-line-annotation mh-mode-line-annotation) |
| 248 | (setq mh-mode-line-annotation (symbol-name sequence)) | 249 | (setq mh-mode-line-annotation (symbol-name sequence)) |
| 249 | (mh-make-folder-mode-line) | 250 | (mh-make-folder-mode-line) |