aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/files.texi9
-rw-r--r--doc/misc/dired-x.texi4
-rw-r--r--doc/misc/efaq.texi10
-rw-r--r--etc/NEWS6
-rw-r--r--lisp/dired-aux.el2
-rw-r--r--lisp/gnus/gnus-art.el4
-rw-r--r--lisp/mail/smtpmail.el20
7 files changed, 30 insertions, 25 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index c7d3b40f9d1..6c68075ae4a 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -932,10 +932,11 @@ way that, if the file was edited only slightly, you will be at
932approximately the same part of the text as before. But if you have 932approximately the same part of the text as before. But if you have
933made major changes, point may end up in a totally different location. 933made major changes, point may end up in a totally different location.
934 934
935 Reverting marks the buffer as not modified. It also clears the 935 Reverting marks the buffer as not modified. However, it adds the
936buffer's undo history (@pxref{Undo}). Thus, the reversion cannot be 936reverted changes as a single modification to the buffer's undo history
937undone---if you change your mind yet again, you can't use the undo 937(@pxref{Undo}). Thus, after reverting, you can type @kbd{C-/} or its
938commands to bring the reverted changes back. 938aliases to bring the reverted changes back, if you happen to change
939your mind.
939 940
940 Some kinds of buffers that are not associated with files, such as 941 Some kinds of buffers that are not associated with files, such as
941Dired buffers, can also be reverted. For them, reverting means 942Dired buffers, can also be reverted. For them, reverting means
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi
index 36a9cb0291a..f65542f02ea 100644
--- a/doc/misc/dired-x.texi
+++ b/doc/misc/dired-x.texi
@@ -321,8 +321,8 @@ Default: @code{nil}
321 321
322@cindex How to make omitting the default in Dired 322@cindex How to make omitting the default in Dired
323If non-@code{nil}, ``uninteresting'' files are not listed. 323If non-@code{nil}, ``uninteresting'' files are not listed.
324Uninteresting files are those whose files whose names match regexp 324Uninteresting files are files whose names match regexp
325@code{dired-omit-files}, plus those ending with extensions in 325@code{dired-omit-files}, plus files whose names end with extension in
326@code{dired-omit-extensions}. @kbd{C-x M-o} (@code{dired-omit-mode}) 326@code{dired-omit-extensions}. @kbd{C-x M-o} (@code{dired-omit-mode})
327toggles its value, which is buffer-local. Put 327toggles its value, which is buffer-local. Put
328 328
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 26d9c82b219..0d4e4ba8bdd 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -3536,7 +3536,7 @@ see @ref{Packages that do not come with Emacs}.
3536 3536
3537The easiest way to add more features to your Emacs is to use the 3537The easiest way to add more features to your Emacs is to use the
3538command @kbd{M-x list-packages}. This contacts the 3538command @kbd{M-x list-packages}. This contacts the
3539@uref{https:///elpa.gnu.org, GNU ELPA} (``Emacs Lisp Package Archive'') 3539@uref{https://elpa.gnu.org, GNU ELPA} (``Emacs Lisp Package Archive'')
3540server and fetches the list of additional packages that it offers. 3540server and fetches the list of additional packages that it offers.
3541These are GNU packages that are available for use with Emacs, but are 3541These are GNU packages that are available for use with Emacs, but are
3542distributed separately from Emacs itself, for reasons of space, etc. 3542distributed separately from Emacs itself, for reasons of space, etc.
@@ -3545,8 +3545,8 @@ available, and then Emacs can automatically download and install the
3545packages that you select. @xref{Packages,,, emacs, The GNU Emacs Manual}. 3545packages that you select. @xref{Packages,,, emacs, The GNU Emacs Manual}.
3546 3546
3547There are other, non-GNU, Emacs Lisp package servers, including: 3547There are other, non-GNU, Emacs Lisp package servers, including:
3548@uref{http://melpa.org/, MELPA}; and 3548@uref{https://melpa.org, MELPA}; and
3549@uref{https://marmalade-repo.org/, Marmalade}. To use additional 3549@uref{https://marmalade-repo.org, Marmalade}. To use additional
3550package servers, customize the @code{package-archives} variable. Be 3550package servers, customize the @code{package-archives} variable. Be
3551aware that installing a package can run arbitrary code, so only add 3551aware that installing a package can run arbitrary code, so only add
3552sources that you trust. 3552sources that you trust.
@@ -3557,8 +3557,8 @@ GNU Emacs sources mailing list}, which is gatewayed to the
3557connection between the two can be unreliable) is an official place 3557connection between the two can be unreliable) is an official place
3558where people can post or announce their extensions to Emacs. 3558where people can post or announce their extensions to Emacs.
3559 3559
3560The @uref{http://emacswiki.org, Emacs Wiki} contains pointers to some 3560The @uref{https://emacswiki.org, Emacs Wiki} contains pointers to some
3561additional extensions. @uref{http://wikemacs.org, WikEmacs} is an 3561additional extensions. @uref{https://wikemacs.org, WikEmacs} is an
3562alternative wiki for Emacs. 3562alternative wiki for Emacs.
3563 3563
3564@uref{http://www.damtp.cam.ac.uk/user/sje30/emacs/ell.html, The Emacs 3564@uref{http://www.damtp.cam.ac.uk/user/sje30/emacs/ell.html, The Emacs
diff --git a/etc/NEWS b/etc/NEWS
index 7a98b492f13..ce849e49909 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -21,6 +21,12 @@ Temporary note:
21--- means no change in the manuals is needed. 21--- means no change in the manuals is needed.
22When you add a new item, use the appropriate mark if you are sure it applies, 22When you add a new item, use the appropriate mark if you are sure it applies,
23 23
24+++
25** Installing Emacs now installs the emacs-module.h file.
26The emacs-module.h file is now installed in the system-wide include
27directory as part of the Emacs installation. This allows to build
28Emacs modules outside of the Emacs source tree.
29
24 30
25* Installation Changes in Emacs 27.1 31* Installation Changes in Emacs 27.1
26 32
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 90bfa096b08..72c16da63f8 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1738,7 +1738,7 @@ or with the current marker character if MARKER-CHAR is t."
1738 (let* ((overwrite (file-exists-p to)) 1738 (let* ((overwrite (file-exists-p to))
1739 (dired-overwrite-confirmed ; for dired-handle-overwrite 1739 (dired-overwrite-confirmed ; for dired-handle-overwrite
1740 (and overwrite 1740 (and overwrite
1741 (let ((help-form '(format-message "\ 1741 (let ((help-form (format-message "\
1742Type SPC or `y' to overwrite file `%s', 1742Type SPC or `y' to overwrite file `%s',
1743DEL or `n' to skip to next, 1743DEL or `n' to skip to next,
1744ESC or `q' to not overwrite any of the remaining files, 1744ESC or `q' to not overwrite any of the remaining files,
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 1b0dde94551..f28e6db3c7e 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -2243,9 +2243,7 @@ This only works if the article in question is HTML."
2243 start end))))))) 2243 start end)))))))
2244 2244
2245(defun gnus-article-treat-fold-newsgroups () 2245(defun gnus-article-treat-fold-newsgroups ()
2246 "Unfold folded message headers. 2246 "Fold the Newsgroups and Followup-To message headers."
2247Only the headers that fit into the current window width will be
2248unfolded."
2249 (interactive) 2247 (interactive)
2250 (gnus-with-article-headers 2248 (gnus-with-article-headers
2251 (while (gnus-article-goto-header "newsgroups\\|followup-to") 2249 (while (gnus-article-goto-header "newsgroups\\|followup-to")
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 9b045b25584..8a1e86b7750 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -397,35 +397,35 @@ for `smtpmail-try-auth-method'.")
397 (with-temp-buffer 397 (with-temp-buffer
398 ;; Get index, get first mail, send it, update index, get second 398 ;; Get index, get first mail, send it, update index, get second
399 ;; mail, send it, etc... 399 ;; mail, send it, etc...
400 (let ((file-msg "") 400 (let (file-data file-elisp
401 (qfile (expand-file-name smtpmail-queue-index-file 401 (qfile (expand-file-name smtpmail-queue-index-file
402 smtpmail-queue-dir)) 402 smtpmail-queue-dir))
403 result) 403 result)
404 (insert-file-contents qfile) 404 (insert-file-contents qfile)
405 (goto-char (point-min)) 405 (goto-char (point-min))
406 (while (not (eobp)) 406 (while (not (eobp))
407 (setq file-msg (buffer-substring (point) (line-end-position))) 407 (setq file-data (buffer-substring (point) (line-end-position)))
408 (setq file-elisp (concat file-data ".el"))
408 ;; FIXME: Avoid `load' which can execute arbitrary code and is hence 409 ;; FIXME: Avoid `load' which can execute arbitrary code and is hence
409 ;; a source of security holes. Better read the file and extract the 410 ;; a source of security holes. Better read the file and extract the
410 ;; data "by hand". 411 ;; data "by hand".
411 ;;(load file-msg) 412 ;;(load file-elisp)
412 (with-temp-buffer 413 (with-temp-buffer
413 (insert-file-contents (concat file-msg ".el")) 414 (insert-file-contents file-elisp)
414 (goto-char (point-min)) 415 (goto-char (point-min))
415 (pcase (read (current-buffer)) 416 (pcase (read (current-buffer))
416 (`(setq smtpmail-recipient-address-list ',v) 417 (`(setq smtpmail-recipient-address-list ',v)
417 (skip-chars-forward " \n\t") 418 (skip-chars-forward " \n\t")
418 (unless (eobp) (message "Ignoring trailing text in %S" 419 (unless (eobp) (message "Ignoring trailing text in %S"
419 (concat file-msg ".el"))) 420 file-elisp))
420 (setq smtpmail-recipient-address-list v)) 421 (setq smtpmail-recipient-address-list v))
421 (sexp (error "Unexpected code in %S: %S" 422 (sexp (error "Unexpected code in %S: %S" file-elisp sexp))))
422 (concat file-msg ".el") sexp))))
423 ;; Insert the message literally: it is already encoded as per 423 ;; Insert the message literally: it is already encoded as per
424 ;; the MIME headers, and code conversions might guess the 424 ;; the MIME headers, and code conversions might guess the
425 ;; encoding wrongly. 425 ;; encoding wrongly.
426 (with-temp-buffer 426 (with-temp-buffer
427 (let ((coding-system-for-read 'no-conversion)) 427 (let ((coding-system-for-read 'no-conversion))
428 (insert-file-contents file-msg)) 428 (insert-file-contents file-data))
429 (let ((smtpmail-mail-address 429 (let ((smtpmail-mail-address
430 (or (and mail-specify-envelope-from (mail-envelope-from)) 430 (or (and mail-specify-envelope-from (mail-envelope-from))
431 user-mail-address))) 431 user-mail-address)))
@@ -435,8 +435,8 @@ for `smtpmail-try-auth-method'.")
435 (current-buffer))) 435 (current-buffer)))
436 (error "Sending failed: %s" result)) 436 (error "Sending failed: %s" result))
437 (error "Sending failed; no recipients")))) 437 (error "Sending failed; no recipients"))))
438 (delete-file file-msg) 438 (delete-file file-data)
439 (delete-file (concat file-msg ".el")) 439 (delete-file file-elisp)
440 (delete-region (point-at-bol) (point-at-bol 2))) 440 (delete-region (point-at-bol) (point-at-bol 2)))
441 (write-region (point-min) (point-max) qfile)))) 441 (write-region (point-min) (point-max) qfile))))
442 442