]> git.eshelyaron.com Git - emacs.git/commitdiff
Prefer `%s` format over `%S` for buffers
authorJuri Linkov <juri@linkov.net>
Tue, 7 Jan 2025 18:44:09 +0000 (20:44 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 8 Jan 2025 08:57:52 +0000 (09:57 +0100)
This restores the `%s` format` for buffers
after fba3c7ff3f68f05d32541440e0a22ec667c0ad66.

* lisp/gnus/nnimap.el (nnimap-make-process-buffer):
* lisp/gnus/nntp.el (nntp-make-process-buffer):
* lisp/simple.el (next-error-internal):
Prefer more user-readable `%s` format over `%S` for buffers.

(cherry picked from commit 4bf0f6655142b9e216325d051943b7b7ca4d2cd7)

lisp/gnus/nnimap.el
lisp/gnus/nntp.el
lisp/simple.el

index b9c6586c03f88d14c8510b35fe3e036973306a2a..f63138300b1faf727d81fa63ffe961bfd994137f 100644 (file)
@@ -386,7 +386,7 @@ during splitting, which may be slow."
 
 (defun nnimap-make-process-buffer (buffer)
   (with-current-buffer
-      (generate-new-buffer (format " *nnimap %s %s %S*"
+      (generate-new-buffer (format " *nnimap %s %s %s*"
                                   nnimap-address nnimap-server-port
                                    buffer))
     (mm-disable-multibyte)
index aaa80e035ead68641743ed1b10267c9c76f1a59b..a086421b0491fed385c2ca6eb69f384ecb158de8 100644 (file)
@@ -1189,7 +1189,7 @@ If SEND-IF-FORCE, only send authinfo to the server if the
   "Create a new, fresh buffer usable for nntp process connections."
   (with-current-buffer
       (generate-new-buffer
-       (format " *server %s %s %S*"
+       (format " *server %s %s %s*"
                nntp-address nntp-port-number buffer))
     (gnus-add-buffer)
     (mm-disable-multibyte)
index 2a813b42d98b9ba4a1aaa63b6ebb4e3249b03fc6..164f5c089bfa897991313f92b90ffcdf2187458d 100644 (file)
@@ -409,7 +409,7 @@ To control which errors are matched, customize the variable
       (next-error-found buffer (current-buffer))
       (when (or next-error-verbose
                 (not (eq prev next-error-last-buffer)))
-        (message "Current locus from %S" next-error-last-buffer)))))
+        (message "Current locus from %s" next-error-last-buffer)))))
 
 (defun next-error-quit-window (from-buffer to-buffer)
   "Quit window of FROM-BUFFER when the prefix arg is 0.