[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vm 7b5009c0e5 13/20: Fix "interactive only" warnings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/vm 7b5009c0e5 13/20: Fix "interactive only" warnings |
Date: |
Mon, 22 Jul 2024 13:02:25 -0400 (EDT) |
branch: elpa/vm
commit 7b5009c0e56203364aee6e435ccc8b87013fe732
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
Fix "interactive only" warnings
* lisp/u-vm-color.el (u-vm-color-summary-mode): Avoid
`font-lock-fontify-buffer` on Emacs where it's interactive-only.
* lisp/vm-grepmail.el (vm-grepmail): `set-buffer-process-coding-system`
is for interactive use only.
* lisp/vm-biff.el (vm-biff-popup): `backward-delete-char` is for
interactive use only.
---
lisp/u-vm-color.el | 5 ++---
lisp/vm-biff.el | 2 +-
lisp/vm-grepmail.el | 2 +-
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/lisp/u-vm-color.el b/lisp/u-vm-color.el
index 1f037c1f05..f83374c7a0 100644
--- a/lisp/u-vm-color.el
+++ b/lisp/u-vm-color.el
@@ -402,7 +402,7 @@ subexpressions."
(count 1)
(t-vm-summary-format vm-summary-format)
(u-vm-color-xemacs-workaround
- (string-match "XEmacs\\|Lucid" emacs-version)))
+ (featurep 'xemacs)))
;; pick up all elements in the vm-summary-format
(while (string-match
(concat "%-?\\([0-9]+\\.\\)?-?\\([0-9]+\\)?"
@@ -585,8 +585,7 @@ subexpressions."
;; apparently emacs expects this statement here...
(font-lock-mode 1)
- (cond ((string-match "XEmacs\\|Lucid" emacs-version)
- ;; XEmacs
+ (cond ((featurep 'xemacs)
(setq u-vm-color-summary-keywords
(list (u-vm-color-make-summary-keywords)))
(put 'vm-summary-mode 'font-lock-defaults
diff --git a/lisp/vm-biff.el b/lisp/vm-biff.el
index 405f0163a4..2cc4a9f684 100644
--- a/lisp/vm-biff.el
+++ b/lisp/vm-biff.el
@@ -439,7 +439,7 @@ AddToFunc SelectWindow
(or force
(not (equal new-messages vm-biff-message-pointer))))
(setq msg (car new-messages))
- (backward-delete-char 1)
+ (delete-char -1)
(goto-char (point-min))
(setq truncate-lines t
diff --git a/lisp/vm-grepmail.el b/lisp/vm-grepmail.el
index b95d27c8c8..29d64a2429 100644
--- a/lisp/vm-grepmail.el
+++ b/lisp/vm-grepmail.el
@@ -179,7 +179,7 @@ FOLDERS should be a list of files/directories to search in."
(error "Cannot start grepmail"))
;; set the send-filter
(if (not (featurep 'xemacs))
- (set-buffer-process-coding-system 'raw-text-unix 'raw-text-unix))
+ (set-process-coding-system process 'raw-text-unix 'raw-text-unix))
(set-process-filter process 'vm-grepmail-process-filter)
(set-process-sentinel process 'vm-grepmail-process-done)
process)))
- [nongnu] elpa/vm 9f9eb4ab23 06/20: Improve markup in docstrings according to compiler warnings, (continued)
- [nongnu] elpa/vm 9f9eb4ab23 06/20: Improve markup in docstrings according to compiler warnings, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm 508752603a 09/20: * lisp/vm-macro.el (vm-interactive-p): Move to top-level. Use everywhere, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm 9df9bb01f5 12/20: Fix some `defcustom` types, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm fbe2f525c5 14/20: Move `defvar`s out of `eval-when-compile`, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm bc3907cabe 15/20: Assume Emacs-22 hook names, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm 4fd49c3888 10/20: vm-mime.el: Use `base64-(en|de)code-region` unconditionally, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm b31b4ec294 16/20: Silence misc warnings, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm ee7f6b8dd2 07/20: Tweak `require`s to fix compiler warnings, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm cdfd325bf9 11/20: Prefer `ash` over `lsh`, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm 3535485061 08/20: vm-imap|pop.el (vm-expunge-imap|pop-messages): Fix misuse of `nreverse`, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm 7b5009c0e5 13/20: Fix "interactive only" warnings,
ELPA Syncer <=
- [nongnu] elpa/vm 5a45e15c4b 17/20: Activate `lexical-binding`, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm 4fcb1dc734 18/20: restore commit history for vm-fix-many-warnings branch, ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm ae8ec0e7f5 19/20: Merge branch 'main' into 'main', ELPA Syncer, 2024/07/22
- [nongnu] elpa/vm 89cfe9aa55 20/20: Merge branch 'activate-lexical-binding' into 'main', ELPA Syncer, 2024/07/22