]> git.eshelyaron.com Git - emacs.git/log
emacs.git
15 months ago* nt/mingw-cfg.site: Remove additions for Gnulib printf.
Po Lu [Mon, 7 Aug 2023 00:19:40 +0000 (08:19 +0800)]
* nt/mingw-cfg.site: Remove additions for Gnulib printf.

15 months agoUpdate from Gnulib, remove printf-posix
Po Lu [Mon, 7 Aug 2023 00:14:38 +0000 (08:14 +0800)]
Update from Gnulib, remove printf-posix

* m4, lib: Update from Gnulib.

* msdos/sedlibmk.inp: Remove variables deleted as part of previous
change.

* admin/merge-gnulib (GNULIB_MODULES): Remove vasprintf and
printf-posix.

15 months agoMerge remote-tracking branch 'origin/master' into feature/android
Po Lu [Sun, 6 Aug 2023 23:56:44 +0000 (07:56 +0800)]
Merge remote-tracking branch 'origin/master' into feature/android

15 months agoMark Emacs 21 compat aliases `lm-*-mark` obsolete
Stefan Kangas [Sun, 6 Aug 2023 18:39:10 +0000 (20:39 +0200)]
Mark Emacs 21 compat aliases `lm-*-mark` obsolete

* lisp/emacs-lisp/lisp-mnt.el (lm-section-mark, lm-code-mark)
(lm-commentary-mark, lm-history-mark): Mark Emacs 21 compatibility
aliases obsolete.  Update all callers to use the new name.

15 months ago; Pacify new nadvice-tests byte-compiler warnings.
Basil L. Contovounesios [Sun, 6 Aug 2023 18:10:16 +0000 (20:10 +0200)]
; Pacify new nadvice-tests byte-compiler warnings.

15 months agoStop using printf %n
Paul Eggert [Sun, 6 Aug 2023 16:08:56 +0000 (09:08 -0700)]
Stop using printf %n

* src/emacs.c (shut_down_emacs): Don’t use printf’s "%n" format.
Android, MS-Windows, and OpenBSD don’t support it, and it’s easy
enough to do its equivalent by hand.

15 months agoFix last change of 'delete-file'
Eli Zaretskii [Sun, 6 Aug 2023 14:03:26 +0000 (17:03 +0300)]
Fix last change of 'delete-file'

* src/fileio.c (Fdelete_file_internal): Expand file name here, as
all primitives must.
(internal_delete_file): Adjust to the fact that Fdelete_file was
renamed.

* lisp/files.el (delete-file): Don't expand-file-name here, as
the called primitives already do.  Fix typo in doc string.

15 months ago; ChangeLog.android: update.
Po Lu [Sun, 6 Aug 2023 13:53:44 +0000 (21:53 +0800)]
; ChangeLog.android: update.

15 months agoUpdate Android port
Po Lu [Sun, 6 Aug 2023 13:53:13 +0000 (21:53 +0800)]
Update Android port

* java/org/gnu/emacs/EmacsService.java (readDirectoryEntry): Fix
potential NULL dereference.

15 months agoMerge remote-tracking branch 'origin/master' into feature/android
Po Lu [Sun, 6 Aug 2023 13:45:44 +0000 (21:45 +0800)]
Merge remote-tracking branch 'origin/master' into feature/android

15 months agoUpdate Android port
Po Lu [Sun, 6 Aug 2023 13:45:29 +0000 (21:45 +0800)]
Update Android port

* java/org/gnu/emacs/EmacsNative.java: Declare ftruncate.

* java/org/gnu/emacs/EmacsSafThread.java (openDocument1): If
initially opening with rwt, verify the file descriptor is really
writable; if not, resort to rw and truncating the file descriptor
by hand instead.

* src/androidvfs.c (NATIVE_NAME (ftruncate)): New function.
Truncate file descriptor and return whether that was successful.

15 months agoSeparate filename-deletion mechanism from policy.
Eric S. Raymond [Sun, 6 Aug 2023 11:00:22 +0000 (07:00 -0400)]
Separate filename-deletion mechanism from policy.

src/fileio.c: (delete-file-internal) Renamed from delete-file,
              parallel to delete-directory-internal; policy
      code moved to Lisp.
src/files.el: (delete-file) New function, holds policy logic.
              calls delete-file-internal.

This is a pure refactoring step, delete-file's behavior is
unchanged. But the C core is a little simpler now.

15 months ago; Fix last patch
Michael Albinus [Sun, 6 Aug 2023 11:50:11 +0000 (13:50 +0200)]
; Fix last patch

15 months ago; Silence byte-compiler
Stefan Kangas [Sun, 6 Aug 2023 10:14:40 +0000 (12:14 +0200)]
; Silence byte-compiler

* test/src/treesit-tests.el (treesit-pattern-expand): Declare.

15 months agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Sun, 6 Aug 2023 09:44:43 +0000 (11:44 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

15 months agoSuppress some Tramp tests for OpenBSD
Michael Albinus [Sun, 6 Aug 2023 09:43:48 +0000 (11:43 +0200)]
Suppress some Tramp tests for OpenBSD

* test/lisp/net/tramp-tests.el (tramp--test-openbsd-p): New defun.
(tramp-test41-special-characters, tramp-test42-utf8): Use it.
(Bug#64935)

15 months agoMark Emacs 20 color support compat aliases obsolete
Stefan Kangas [Sun, 6 Aug 2023 09:35:02 +0000 (11:35 +0200)]
Mark Emacs 20 color support compat aliases obsolete

* lisp/faces.el (x-defined-colors, x-color-defined-p)
(x-color-values, x-display-color-p): Make Emacs 20 compat aliases
obsolete.  Update one caller to use the new names.
* doc/lispref/frames.texi (Color Names): Do not document above
obsolete aliases.

15 months agoMark unused macro defun-gmm obsolete
Stefan Kangas [Sun, 6 Aug 2023 09:19:27 +0000 (11:19 +0200)]
Mark unused macro defun-gmm obsolete

* lisp/gnus/gmm-utils.el (defun-gmm): Mark as obsolete.

15 months ago; * admin/notes/unicode (char-width-table): Update instructions.
Eli Zaretskii [Sun, 6 Aug 2023 09:10:37 +0000 (12:10 +0300)]
; * admin/notes/unicode (char-width-table): Update instructions.

15 months agoMerge from origin/emacs-29
Jim Porter [Sun, 6 Aug 2023 04:26:14 +0000 (21:26 -0700)]
Merge from origin/emacs-29

1e8322bb26e Fix handling of 'byte-compile-ignore-files' when nil

15 months agoUpdate Android port
Po Lu [Sun, 6 Aug 2023 03:46:15 +0000 (11:46 +0800)]
Update Android port

* src/androidvfs.c (android_saf_tree_chmod): Repair file access
permissions allowed within FLAGS.

15 months agoMerge remote-tracking branch 'origin/master' into feature/android
Po Lu [Sat, 5 Aug 2023 23:38:10 +0000 (07:38 +0800)]
Merge remote-tracking branch 'origin/master' into feature/android

15 months agoFix handling of 'byte-compile-ignore-files' when nil
Jim Porter [Fri, 4 Aug 2023 20:01:35 +0000 (13:01 -0700)]
Fix handling of 'byte-compile-ignore-files' when nil

Before this fix, when 'byte-compile-ignore-files' was nil,
'byte-recompile-directory' would ignore every file (bug#64985).

* lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Handle case
when 'byte-compile-ignore-files' is nil.

15 months ago* test/lisp/align-resources/c-mode.erts: Make test agree with Emacs
Mattias Engdegård [Sat, 5 Aug 2023 16:22:07 +0000 (18:22 +0200)]
* test/lisp/align-resources/c-mode.erts: Make test agree with Emacs

This eliminates a failure in align-tests.  There doesn't seem to be
anything obviously wrong with Emacs's behaviour in this case.

15 months ago; Merge from origin/emacs-29
Michael Albinus [Sat, 5 Aug 2023 16:18:31 +0000 (18:18 +0200)]
; Merge from origin/emacs-29

The following commit was skipped:

2695af297e8 Sync with Tramp 2.6.2-pre

15 months agoMerge from origin/emacs-29
Michael Albinus [Sat, 5 Aug 2023 16:18:30 +0000 (18:18 +0200)]
Merge from origin/emacs-29

f2b2c752a59 Fix documentation of saveplace facilities for Dired
4ed9d61c89a ; * lisp/tab-bar.el: Autoload cl--set-substring, as that ...
30976ecd8d8 ; * lisp/bindings.el (mode-line-modes): Fix typo (bug#650...
8574ef314c4 Fix loaddef generation with ";;;foo-autoload" cookies in ...
8cbd4a02a2b Delete comment saying that project.el is experimental

15 months agoSync with Tramp 2.6.2-pre
Michael Albinus [Sat, 5 Aug 2023 16:07:58 +0000 (18:07 +0200)]
Sync with Tramp 2.6.2-pre

* doc/misc/tramp.texi (Overview): Use "scp" in example.
(Obtaining @value{tramp}): Prefer https: to git: URIs on Savannah.
(Ssh setup): Extend for MS Windows and ssh.  Explain
tramp-use-ssh-controlmaster-options value `suppress'.
(File name completion): Remove completion styles restrictions.
(Ad-hoc multi-hops): Describe tramp-show-ad-hoc-proxies.
(Remote processes): Add reference to "Using ssh connection sharing".

* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Set to "2.6.2-pre".

* lisp/net/tramp-adb.el (tramp-adb-handle-file-name-all-completions):
* lisp/net/tramp-archive.el
(tramp-archive-handle-file-name-all-completions):
* lisp/net/tramp-crypt.el (tramp-crypt-handle-file-name-all-completions):
* lisp/net/tramp-fuse.el (tramp-fuse-handle-file-name-all-completions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-name-all-completions):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
* lisp/net/tramp-smb.el (tramp-smb-handle-file-name-all-completions):
* lisp/net/tramp-sudoedit.el
(tramp-sudoedit-handle-file-name-all-completions): Return nil when
DIRECTORY is missing.  (Bug#61890)

* lisp/net/tramp.el (tramp-accept-process-output): Don't use TIMEOUT
anymore, default it to 0.  When the connection uses a shared
socket possibly, accept also the output from other processes over
the same connection.  (Bug#61350)
(tramp-handle-file-notify-rm-watch, tramp-action-process-alive)
(tramp-action-out-of-band, tramp-process-one-action)
(tramp-interrupt-process):
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
* lisp/net/tramp-smb.el (tramp-smb-action-get-acl)
(tramp-smb-action-set-acl, tramp-smb-wait-for-output):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-action-sudo): Adapt callees.

* lisp/net/tramp.el (tramp-get-process, tramp-message)
(tramp-handle-make-process, tramp-handle-file-notify-valid-p)
(tramp-process-actions, tramp-accept-process-output)
(tramp-process-sentinel, tramp-read-passwd)
(tramp-interrupt-process, tramp-signal-process):
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-cmds.el (tramp-cleanup-connection):
* lisp/net/tramp-crypt.el (tramp-crypt-maybe-open-connection):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
(tramp-gvfs-monitor-process-filter)
(tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-sh-handle-file-notify-add-watch)
(tramp-sh-gio-monitor-process-filter)
(tramp-sh-inotifywait-process-filter)
(tramp-barf-if-no-shell-prompt, tramp-maybe-open-connection):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl)
(tramp-smb-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection)
(tramp-sudoedit-send-command): Prefix internal process properties
with "tramp-".

* lisp/net/tramp.el (tramp-skeleton-file-exists-p): New defmacro,
which also handles host name completion.
(tramp-handle-file-exists-p):
* lisp/net/tramp-adb.el (tramp-adb-handle-file-exists-p):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-exists-p):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-exists-p): Use it.

* lisp/net/tramp.el (tramp-wrong-passwd-regexp):
* lisp/net/tramp-adb.el (tramp-adb-prompt):
* lisp/net/tramp-sh.el (tramp-sh-inotifywait-process-filter):
* lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection): Unify regexps.

* lisp/net/tramp.el:
* lisp/net/tramp-cmds.el:
* lisp/net/tramp-crypt.el:
* lisp/net/tramp-gvfs.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-smb.el: Fix error messages.

* lisp/net/tramp-cmds.el (tramp-cleanup-connection):
Protect `delete-process'.

* lisp/net/tramp.el (tramp-prefix-format, tramp-prefix-regexp)
(tramp-method-regexp, tramp-postfix-method-format)
(tramp-postfix-method-regexp, tramp-prefix-ipv6-format)
(tramp-prefix-ipv6-regexp, tramp-postfix-ipv6-format)
(tramp-postfix-ipv6-regexp, tramp-postfix-host-format)
(tramp-postfix-host-regexp, tramp-remote-file-name-spec-regexp)
(tramp-file-name-structure, tramp-file-name-regexp)
(tramp-completion-method-regexp)
(tramp-completion-file-name-regexp):
* lisp/net/tramp-compat.el (tramp-syntax):
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-vector):
Rearrange declarations.

* lisp/net/tramp-compat.el (ansi-color): Require.
(ls-lisp): Don't require.  (Bug#64124)
(tramp-compat-replace-regexp-in-region): Move up.
(tramp-compat-length<, tramp-compat-length>)
(tramp-compat-length=): New defaliases.
(tramp-compat-file-name-unquote, tramp-compat-take)
(tramp-compat-ntake): Use them.

* lisp/net/tramp-container.el (tramp-container--completion-function):
Rename from `tramp-docker--completion-function'.  Add argument
PROGRAM.  Use it for "docker" and "podman" host name completion.

* lisp/net/tramp-crypt.el (tramp-crypt-handle-file-exists-p):
New defun.
(tramp-crypt-file-name-handler-alist): Add it.

* lisp/net/tramp-fuse.el (tramp-fuse-handle-file-exists-p): New defun.
(tramp-fuse-mount-timeout): Move up.
(tramp-fuse-mount-point): Use `tramp-fuse-mount-timeout'.
(tramp-fuse-unmount): Flush "mount-point" file property.
(tramp-fuse-mount-point, tramp-fuse-mounted-p): Support existing
mount points.
(tramp-fuse-mounted-p): The mount-spec could contain an optional
trailing slash.  (Bug#64278)

* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file)
* lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file):
Improve stability for WebDAV.
(tramp-rclone-handle-file-system-info): Check return code of
command.

* lisp/net/tramp-gvfs.el (while-no-input-ignore-events):
Add `dbus-event' for older Emacs versions.
(tramp-gvfs-parse-device-names): Ignore errors.

* lisp/net/tramp-sh.el (tramp-display-escape-sequence-regexp)
(tramp-device-escape-sequence-regexp): Delete.
(tramp-sh-handle-insert-directory, tramp-barf-if-no-shell-prompt)
(tramp-wait-for-output): Use `ansi-color-control-seq-regexp'.
(tramp-use-ssh-controlmaster-options): Allow new value `suppress'.
(tramp-ssh-option-exists-p): New defun.
(tramp-ssh-controlmaster-options): Implement `suppress' actions.
Should never return nil, but empty string.
(tramp-perl-file-name-all-completions): Don't print status message.
(tramp-sh-handle-file-name-all-completions): Return nil when check
fails.  (Bug#61890)
(tramp-run-test): Add VEC argument.
(tramp-sh-handle-file-executable-p)
(tramp-sh-handle-file-readable-p)
(tramp-sh-handle-file-directory-p)
(tramp-sh-handle-file-writable-p): Adapt callees.
(tramp-sh-handle-insert-directory):
(tramp-sh-handle-insert-directory): Test whether -N is understood
by ls since that option is used along with --dired.  Remove -N
when we remove --dired.  (Bug#63142)
(tramp-sh-handle-insert-directory, tramp-barf-if-no-shell-prompt)
(tramp-wait-for-output): Use `ansi-color-control-seq-regexp'.
(tramp-sh-handle-expand-file-name): `null-device' could be nil.
Reported by Richard Copley <rcopley@gmail.com>.
(tramp-sh-handle-make-process): Improve handling of
connection-type `pipe'.  (Bug#61341)

* lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-make-symbolic-link):
Flush TARGET file properties.

* lisp/net/tramp-smb.el (tramp-smb-handle-copy-file): Flush proper
file properties.
(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl):
Remove superfluous `unwind-protect'.

* lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist):
Use `tramp-fuse-handle-file-exists-p'.
(tramp-sshfs-handle-insert-file-contents): Move result out of
unwindform.

* lisp/net/tramp.el (tramp-string-empty-or-nil-p): New defsubst.
Use it everywhere when appropriate.

* lisp/net/tramp.el (tramp-methods) <->: Add.
(tramp-completion-file-name-handler-alist):
Add `expand-file-name', `file-exists-p', `file-name-directory' and
`file-name-nondirectory'.
(tramp-dissect-file-name): Do not extra check for
`tramp-default-method-marker'.
(tramp-completion-handle-expand-file-name)
(tramp-completion-handle-file-exists-p)
(tramp-completion-handle-file-name-directory)
(tramp-completion-handle-file-name-nondirectory): New defuns.
(tramp-completion-handle-file-name-all-completions): Remove duplicates.
(tramp-show-ad-hoc-proxies): New defcustom.
(tramp-make-tramp-file-name): Use it.
(tramp-make-tramp-hop-name): Don't add hop twice.
(tramp-shell-prompt-pattern): Remove escape characters.
(tramp-process-one-action, tramp-convert-file-attributes):
Use `ansi-color-control-seq-regexp'.  (Bug#63539)
(tramp-wrong-passwd-regexp): Add "Authentication failed" string
(from doas).
(tramp-terminal-type): Fix docstring.
(tramp-process-one-action): Delete ANSI control escape sequences
in buffer.  (Bug#63539)
(tramp-build-completion-file-name-regexp): Support user name
completion.
(tramp-make-tramp-file-name): Keep hop while in file
(tramp-set-completion-function): Check, that cdr of FUNCTION-LIST
entries is a string.
(tramp-completion-file-name-handler): Run only when
`minibuffer-completing-file-name' is non-nil.
(tramp-skeleton-write-region): Fix scoping.  (Bug#65022)
(tramp-handle-memory-info): Work on newly created objects, or use
non-destructive operations.
(tramp-accept-process-output): Use `with-local-quit'.
(tramp-call-process, tramp-call-process-region):
Let-bind `temporary-file-directory'.

* test/lisp/net/tramp-archive-tests.el (tramp-archive--test-emacs28-p):
New defun.
(tramp-archive-test16-directory-files): Don't mutate.
(tramp-archive-test47-auto-load): Adapt test.

* test/lisp/net/tramp-tests.el (tramp-display-escape-sequence-regexp):
Dont't declare.
(tramp-action-yesno): Suppress run in tests.
(tramp-test02-file-name-dissect):
(tramp-test02-file-name-dissect-simplified)
(tramp-test02-file-name-dissect-separate): Adapt tests.
(tramp-test21-file-links):
(tramp-test21-file-links, tramp-test26-file-name-completion)
(tramp-test28-process-file, tramp-test29-start-file-process)
(tramp-test30-make-process, tramp-test33-environment-variables)
(tramp-test38-find-backup-file-name, tramp-test47-auto-load)
(tramp-test39-detect-external-change, tramp-test42-utf8)
(tramp-test47-auto-load, tramp-test47-delay-load)
(tramp-test48-unload): Adapt tests.
(tramp-test26-file-name-completion-with-perl):
(tramp-test26-file-name-completion-with-ls)
(tramp-test26-interactive-file-name-completion): New tests.
(tramp-test44-asynchronous-requests): Mark as :unstable.

15 months agoSimplify rng-substq with cl-substitute
Stefan Kangas [Sat, 5 Aug 2023 15:58:19 +0000 (17:58 +0200)]
Simplify rng-substq with cl-substitute

* lisp/nxml/rng-util.el (rng-substq): Simplify.
(cl-lib): Require.

15 months agoMake eshell-redisplay into alias for redisplay
Stefan Kangas [Sat, 5 Aug 2023 12:56:27 +0000 (14:56 +0200)]
Make eshell-redisplay into alias for redisplay

* lisp/eshell/esh-util.el (eshell-redisplay): Make into obsolete
function alias for 'redisplay'.  This removes a workaround for some
obscure bug apparently found in Emacs 21.  Update all callers.

15 months agoUse file-size-human-readable in eshell
Stefan Kangas [Sat, 5 Aug 2023 12:49:26 +0000 (14:49 +0200)]
Use file-size-human-readable in eshell

* lisp/eshell/esh-util.el (eshell-printable-size): Simplify using
file-size-human-readable.

15 months agoFix eshell "ls" command for files larger than 1TiB
Stefan Kangas [Sat, 5 Aug 2023 10:54:26 +0000 (12:54 +0200)]
Fix eshell "ls" command for files larger than 1TiB

* lisp/eshell/esh-util.el (eshell-printable-size): Fix displaying file
sizes larger than 1 TiB or 1 TB.
* test/lisp/eshell/esh-util-tests.el
(esh-util-test/eshell-printable-size)
(esh-util-test/eshell-printable-size/zero)
(esh-util-test/eshell-printable-size/terabyte)
(esh-util-test/eshell-printable-size/use-colors)
(esh-util-test/eshell-printable-size/block-size)
(esh-util-test/eshell-printable-size/human-readable-arg): New tests.

15 months ago; * lisp/eshell/esh-util.el: Delete redundant autoload.
Stefan Kangas [Sat, 5 Aug 2023 08:59:11 +0000 (10:59 +0200)]
; * lisp/eshell/esh-util.el: Delete redundant autoload.

15 months agoSimplify pcomplete-uniquify-list
Stefan Kangas [Sat, 5 Aug 2023 08:55:27 +0000 (10:55 +0200)]
Simplify pcomplete-uniquify-list

* lisp/pcomplete.el (pcomplete-uniquify-list): Improve docstring.
Simplify.

15 months agoAdd crossref to set-default-file-modes docstring
Stefan Kangas [Fri, 4 Aug 2023 13:27:18 +0000 (15:27 +0200)]
Add crossref to set-default-file-modes docstring

* src/fileio.c (Fset_default_file_modes): Doc fix; add to the
docstring a cross-reference to with-file-modes.

15 months agoimage-dired: Fix gallery directory permissions
Stefan Kangas [Fri, 4 Aug 2023 13:24:46 +0000 (15:24 +0200)]
image-dired: Fix gallery directory permissions

* lisp/image/image-dired.el (image-dired-gallery-generate): Set
umask to 077 before creating gallery directory.

15 months ago; * etc/NEWS: Announce 'cjk-ambiguous-chars-are-wide' (bug#64420).
Eli Zaretskii [Sat, 5 Aug 2023 15:15:47 +0000 (18:15 +0300)]
; * etc/NEWS: Announce 'cjk-ambiguous-chars-are-wide' (bug#64420).

15 months agoAllow user control on char-width of "ambiguous" characters
Eli Zaretskii [Sat, 5 Aug 2023 14:55:56 +0000 (17:55 +0300)]
Allow user control on char-width of "ambiguous" characters

* src/character.c (syms_of_character) <ambiguous-width-chars>: New
char-table.

* lisp/international/characters.el (ambiguous-width-chars): Fill
the table.
(update-cjk-ambiguous-char-widths): New function.
(cjk-ambiguous-chars-are-wide): New defcustom, uses
'update-cjk-ambiguous-char-widths' as its :set function.
(use-cjk-char-width-table): Obey 'cjk-ambiguous-chars-are-wide' by
adding another child char-table for ambiguous-width characters,
where the width is set according to the option.

* lisp/language/chinese.el ("Chinese-GB", "Chinese-BIG5")
("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"):
* lisp/language/japanese.el ("Japanese"):
* lisp/language/korean.el ("Korean"): Add new language-info slot
'cjk-locale-symbol'.

Bug#64420

15 months ago; ChangeLog.android: Update.
Po Lu [Sat, 5 Aug 2023 09:17:30 +0000 (17:17 +0800)]
; ChangeLog.android: Update.

15 months ago* doc/lispref/commands.texi (Touchscreen Events): Fix typo.
Po Lu [Sat, 5 Aug 2023 09:17:12 +0000 (17:17 +0800)]
* doc/lispref/commands.texi (Touchscreen Events): Fix typo.

15 months ago; Update Android port
Po Lu [Sat, 5 Aug 2023 09:16:16 +0000 (17:16 +0800)]
; Update Android port

* lisp/subr.el (y-or-n-p): Don't call set-text-conversion-style when
not present.

15 months agoFix documentation of saveplace facilities for Dired
Eli Zaretskii [Sat, 5 Aug 2023 09:13:47 +0000 (12:13 +0300)]
Fix documentation of saveplace facilities for Dired

* lisp/saveplace.el (save-place-dired-hook, save-place-alist):
* lisp/dired.el (dired-initial-position-hook)
(dired-initial-position): Doc fixes.  (Bug#65055)

15 months ago; * lisp/tab-bar.el: Autoload cl--set-substring, as that is needed for loadup.
Eli Zaretskii [Sat, 5 Aug 2023 07:31:20 +0000 (10:31 +0300)]
; * lisp/tab-bar.el: Autoload cl--set-substring, as that is needed for loadup.

15 months ago; * lisp/bindings.el (mode-line-modes): Fix typo (bug#65065).
Eshel Yaron [Sat, 5 Aug 2023 06:45:56 +0000 (09:45 +0300)]
; * lisp/bindings.el (mode-line-modes): Fix typo (bug#65065).

15 months agoMerge remote-tracking branch 'origin/master' into feature/android
Po Lu [Sat, 5 Aug 2023 01:06:04 +0000 (09:06 +0800)]
Merge remote-tracking branch 'origin/master' into feature/android

15 months ago; * nt/mingw-cfg.site: Restore the MS Windows build.
Po Lu [Sat, 5 Aug 2023 01:05:47 +0000 (09:05 +0800)]
; * nt/mingw-cfg.site: Restore the MS Windows build.

15 months agoFix loaddef generation with ";;;foo-autoload" cookies in external packages
Jim Porter [Fri, 4 Aug 2023 16:31:59 +0000 (09:31 -0700)]
Fix loaddef generation with ";;;foo-autoload" cookies in external packages

This caused an issue where package-specific autoload cookies weren't
being correctly recognized, so they got dumped into the package's main
"<pkg>-autoloads.el" file, instead of "<pkg>-loaddefs.el" as they
should (bug#65023).

* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--parse-file):
Save match data when checking syntax.

15 months agoAdd ruff and flake8 to python-check-command
Stefan Kangas [Fri, 4 Aug 2023 12:21:17 +0000 (14:21 +0200)]
Add ruff and flake8 to python-check-command

* lisp/progmodes/python.el (python-check-command): Add ruff and
flake8.

15 months agoFix thumbnail update when thumb name is based on image content
Manuel Giraud [Tue, 1 Aug 2023 16:56:33 +0000 (18:56 +0200)]
Fix thumbnail update when thumb name is based on image content

* lisp/image/image-dired-util.el
(image-dired-update-thumbnail-at-point): New function to update
thumbnail when original image contents changed.
* lisp/image/image-dired-external.el
(image-dired-rotate-original): Use it.
* lisp/image/image-dired.el (image-dired-display-thumbs): Fix
spacing while here.  (Bug#61394)

15 months agoDelete comment saying that project.el is experimental
Stefan Kangas [Fri, 4 Aug 2023 10:25:15 +0000 (12:25 +0200)]
Delete comment saying that project.el is experimental

* lisp/progmodes/project.el (Commentary): Delete comment saying that
the API is "still experimental".  It is to be considered stable
starting with the version released with Emacs 29.
Ref: https://lists.gnu.org/r/emacs-devel/2023-07/msg00415.html

15 months agoTry to restore the MS Windows build
Po Lu [Fri, 4 Aug 2023 09:56:31 +0000 (17:56 +0800)]
Try to restore the MS Windows build

* nt/mingw-cfg.site: Impede building Gnulib's vasnprintf* code.

15 months ago; Last-minute updates to Android port
Po Lu [Fri, 4 Aug 2023 09:41:20 +0000 (17:41 +0800)]
; Last-minute updates to Android port

* lisp/electric.el:
* lisp/help-macro.el (make-help-screen):
* lisp/subr.el (read-char-choice-with-read-key):
* src/buffer.c (init_buffer_once):
* src/dispextern.h (No_Cursor):
* src/keyboard.c (read_char):
* src/process.c (Fprocess_send_eof): Fix commentary or unnecessary
whitespace changes.

15 months agoDon't allow the `eq` and `unbind` byte-ops to commute (bug#65017)
Mattias Engdegård [Fri, 4 Aug 2023 09:08:57 +0000 (11:08 +0200)]
Don't allow the `eq` and `unbind` byte-ops to commute (bug#65017)

* lisp/emacs-lisp/byte-opt.el (byte-after-unwind-ops):
Cease sinking `eq` past `unwind`, because that optimised away the
let-binding in

  (let ((symbols-with-pos-enabled nil))
    (eq x y))

and `eq` is currently sensitive to `symbols-with-pos-enabled`.
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp--eq-symbols-with-pos-enabled): New test.

15 months ago; Fix http/https thinko in org manual
Stefan Kangas [Fri, 4 Aug 2023 07:50:43 +0000 (09:50 +0200)]
; Fix http/https thinko in org manual

* doc/misc/org.org (External Links): Change an HTTPS link back to
HTTP, as it's used as an example to show the supported protocols.
Ref: https://lists.gnu.org/r/emacs-devel/2023-08/msg00018.html

15 months agoMerge from origin/emacs-29
Eli Zaretskii [Fri, 4 Aug 2023 07:17:51 +0000 (03:17 -0400)]
Merge from origin/emacs-29

0f183770c56 Fix byte-compiled files that use 'bind-key' from use-package
acfcf7f3690 Fix "Paste from Kill Menu" in non X toolkit builds
04996b21241 Handle tabs in the SQL shown in the column listing
573fcf27122 Add new keyword to 'typescript-ts-mode'
db7d70d3cad ; Add commentary to 'describe-function's completion

15 months ago; Merge from origin/emacs-29
Eli Zaretskii [Fri, 4 Aug 2023 07:17:51 +0000 (03:17 -0400)]
; Merge from origin/emacs-29

The following commit was skipped:

d005b2c89ce Fix link to info node in prin1 docstring

15 months agoMerge from origin/emacs-29
Eli Zaretskii [Fri, 4 Aug 2023 07:17:50 +0000 (03:17 -0400)]
Merge from origin/emacs-29

6eddbfe33f2 Clarify the meaning of the argument of ':align-to' space ...
5c6a51668b0 ; * doc/misc/eshell.texi (Argument Modifiers): Fix typo i...
da5e05a50e8 Fix handling of ".elpaignore" file when compiling packages

15 months ago; Merge from origin/emacs-29
Eli Zaretskii [Fri, 4 Aug 2023 07:17:50 +0000 (03:17 -0400)]
; Merge from origin/emacs-29

The following commit was skipped:

608a8757d9f Support files compressed by 'pigz'

15 months agoMerge from origin/emacs-29
Eli Zaretskii [Fri, 4 Aug 2023 07:17:49 +0000 (03:17 -0400)]
Merge from origin/emacs-29

0c29f53ab87 Fix 'string-pixel-width' under 'line-prefix'
7bbd7cae074 Fix find-dired-with-command for remote directories
c4a8572025e ; * etc/HISTORY: Fix Emacs 28.3 entry.

15 months ago; Prepare Android port for inclusion in Emacs
Po Lu [Fri, 4 Aug 2023 07:00:18 +0000 (15:00 +0800)]
; Prepare Android port for inclusion in Emacs

* ChangeLog.android: New file.

15 months agoFix byte-compiled files that use 'bind-key' from use-package
Eli Zaretskii [Fri, 4 Aug 2023 06:41:30 +0000 (09:41 +0300)]
Fix byte-compiled files that use 'bind-key' from use-package

* lisp/use-package/bind-key.el (bind-key): Ensure 'bind-key' is
loaded at run time.  Patch by John Wiegley <johnw@gnu.org>.
(Bug#64901)

15 months agoFix "Paste from Kill Menu" in non X toolkit builds
Eli Zaretskii [Fri, 4 Aug 2023 06:34:55 +0000 (09:34 +0300)]
Fix "Paste from Kill Menu" in non X toolkit builds

* src/keymap.c (possibly_translate_key_sequence): Don't signal an
error if 'key-valid-p' returns nil.  Suggested by Stefan Monnier
<monnier@iro.umontreal.ca>. (Bug#64927)

15 months agoOptimize creation of multibyte menu items on Android
Po Lu [Fri, 4 Aug 2023 06:29:55 +0000 (14:29 +0800)]
Optimize creation of multibyte menu items on Android

* src/androidvfs.c (android_verify_jni_string): Move to
android.c.
* src/android.c (android_verify_jni_string): New function.
(android_build_string): Forgo encoding menu text if TEXT is a
multibyte string that's also a valid JNI string.
* src/android.h: Update prototypes.

15 months ago* lisp/net/tramp.el (tramp-skeleton-write-region): Fix scoping.
Michael Albinus [Fri, 4 Aug 2023 04:19:57 +0000 (06:19 +0200)]
* lisp/net/tramp.el (tramp-skeleton-write-region): Fix scoping.

(Bug#65022)

15 months ago* lisp/progmodes/cc-mode.el (c-advise-fl-for-region): Fix compiler warning
Stefan Monnier [Fri, 4 Aug 2023 03:43:12 +0000 (23:43 -0400)]
* lisp/progmodes/cc-mode.el (c-advise-fl-for-region): Fix compiler warning

Make sure we macro-expand `defadvice` only when we want to use it.

15 months ago* lisp/emacs-lisp/advice.el (defadvice): Mark as obsolete
Stefan Monnier [Fri, 4 Aug 2023 03:41:11 +0000 (23:41 -0400)]
* lisp/emacs-lisp/advice.el (defadvice): Mark as obsolete

15 months agoAvoid encoding commonplace characters in tree names
Po Lu [Fri, 4 Aug 2023 00:32:05 +0000 (08:32 +0800)]
Avoid encoding commonplace characters in tree names

* java/org/gnu/emacs/EmacsService.java (getDocumentTrees): Don't
encode some characters that need not be escaped within file
names.

15 months agoMerge remote-tracking branch 'origin/master' into feature/android
Po Lu [Thu, 3 Aug 2023 23:50:56 +0000 (07:50 +0800)]
Merge remote-tracking branch 'origin/master' into feature/android

15 months agoRegister more Ruby files in auto-mode-alist
Stefan Kangas [Thu, 3 Aug 2023 17:12:49 +0000 (19:12 +0200)]
Register more Ruby files in auto-mode-alist

* lisp/progmodes/ruby-mode.el (auto-mode-alist): Add fastlane and
Caxlsx files.

15 months ago; * test/lisp/uniquify-tests.el (uniquify-home): Delete (bug#62621).
Eli Zaretskii [Thu, 3 Aug 2023 14:04:41 +0000 (17:04 +0300)]
; * test/lisp/uniquify-tests.el (uniquify-home): Delete (bug#62621).

15 months ago* src/fileio.c (check_vfs_filename): Revert earlier change.
Po Lu [Thu, 3 Aug 2023 12:14:28 +0000 (20:14 +0800)]
* src/fileio.c (check_vfs_filename): Revert earlier change.

15 months agoMerge remote-tracking branch 'origin/master' into feature/android
Po Lu [Thu, 3 Aug 2023 11:50:23 +0000 (19:50 +0800)]
Merge remote-tracking branch 'origin/master' into feature/android

15 months agoImprove SELinux handling in Tramp
Michael Albinus [Thu, 3 Aug 2023 11:17:02 +0000 (13:17 +0200)]
Improve SELinux handling in Tramp

* lisp/net/tramp-sh.el (tramp-stat-file-attributes-with-selinux)
(tramp-stat-directory-files-and-attributes-with-selinux): New defconst.
(tramp-do-file-attributes-with-ls)
(tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat): Return also
SELinux context.
(tramp-remote-selinux-p, tramp-do-copy-or-rename-file): Adapt docstring.

* lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file)
(tramp-sudoedit-remote-selinux-p): Adapt docstring.
(tramp-sudoedit-file-attributes-with-selinux): New defconst.
(tramp-sudoedit-handle-file-attributes): Use it.

* lisp/net/tramp.el (tramp-convert-file-attributes):
Extract SELinux context.

15 months agoEglot: send version in clientInfo (bug#62198)
Felicián Németh [Sat, 15 Jul 2023 10:02:49 +0000 (12:02 +0200)]
Eglot: send version in clientInfo (bug#62198)

* lisp/progmodes/eglot.el (eglot--version): New defconst.
(eglot--connect): Use it.

15 months agoAdd test for align-regexp
Stefan Kangas [Thu, 3 Aug 2023 09:56:42 +0000 (11:56 +0200)]
Add test for align-regexp

* test/lisp/align-tests.el (align-regexp): New test.
* test/lisp/align-resources/align-regexp.erts: New file.

* test/lisp/align-resources/c-mode.erts: Add new test case.

15 months agoHandle tabs in the SQL shown in the column listing
john muhl [Sun, 30 Jul 2023 18:43:10 +0000 (13:43 -0500)]
Handle tabs in the SQL shown in the column listing

* lisp/sqlite-mode.el (sqlite-mode-list-columns): Handle tabs.
(Bug#64964)

15 months agoRevert thumbnail naming for 'per-directory' storage method
Manuel Giraud [Sat, 29 Jul 2023 08:59:32 +0000 (10:59 +0200)]
Revert thumbnail naming for 'per-directory' storage method

* lisp/image/image-dired-util.el (image-dired-thumb-name): Revert
to "filename.thumb.jpg" for 'per-directory' storage.  (Bug#61394)

* lisp/image/image-dired.el (image-dired-thumbnail-storage): Fix
documentation.

15 months agoRevert "Fix image-dired-utils-tests after 83b6a8a5147 (bug#61394)"
Eli Zaretskii [Thu, 3 Aug 2023 08:40:44 +0000 (11:40 +0300)]
Revert "Fix image-dired-utils-tests after 83b6a8a5147 (bug#61394)"

This reverts commit 5efc7b22cecc0cf1e7dd2bbbc26400dba35e33ea.
It is no longer needed, see bug#61394.

15 months agoAdd new keyword to 'typescript-ts-mode'
Eli Zaretskii [Thu, 3 Aug 2023 08:31:41 +0000 (11:31 +0300)]
Add new keyword to 'typescript-ts-mode'

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--keywords): Add "satisfies", a new operator in
Typescript 4.9.  (Bug#64924)

15 months ago; Add commentary to 'describe-function's completion
Eli Zaretskii [Thu, 3 Aug 2023 08:26:32 +0000 (11:26 +0300)]
; Add commentary to 'describe-function's completion

* lisp/help-fns.el
(help-fns--describe-function-or-command-prompt): Add a comment
(bug#64902).

15 months ago; * lisp/mail/footnote.el (footnote-hebrew-numeric-regex): dedup rx
Mattias Engdegård [Thu, 3 Aug 2023 07:57:33 +0000 (09:57 +0200)]
; * lisp/mail/footnote.el (footnote-hebrew-numeric-regex): dedup rx

This is a cosmetic change that silences a new Relint complaint;
the resulting regexp remains unchanged.

15 months ago; Better help-echo for Customize menu items
Eli Zaretskii [Thu, 3 Aug 2023 08:07:39 +0000 (11:07 +0300)]
; Better help-echo for Customize menu items

* lisp/menu-bar.el (menu-bar-custom-menu): Better help-echo for
Customize menu items.  (Bug#64871)

15 months ago; Fix last change
Eli Zaretskii [Thu, 3 Aug 2023 07:56:35 +0000 (10:56 +0300)]
; Fix last change

* lisp/faces.el (faces--string-with-color, read-color): Doc fixes.

* doc/lispref/minibuf.texi (High-Level Completion): Fix markup and
wording.  (Bug#64725)

15 months agoImprove interactive prompting for face colors
Helmut Eller [Thu, 20 Jul 2023 14:27:34 +0000 (16:27 +0200)]
Improve interactive prompting for face colors

When displaying the completion candidates, show how the face would
look with the new foreground/background.

* lisp/faces.el (faces--string-with-color): New helper,
factored out from 'defined-colors-with-face-attributes'.
(defined-colors-with-face-attributes): Use it.
(read-color): Add optional argument FACE and pass
it to 'faces--string-with-color.'
(read-face-attribute): Call 'read-color' with more appropriate
foreground and face arguments.

* doc/lispref/minibuf.texi (High-Level Completion): Describe
the intention behind the arguments FOREGROUND and FACE of
'read-color'.  (Bug#64725)

15 months agoFix link to info node in prin1 docstring
Stefan Kangas [Tue, 1 Aug 2023 17:28:53 +0000 (19:28 +0200)]
Fix link to info node in prin1 docstring

* src/print.c (Fprin1): Fix linking to info node in docstring.

(cherry picked from commit 4b73edb8d1da74fd1bda8894e982d9768fd1f18c)

15 months ago; * lisp/progmodes/cperl-mode.el (cperl-method-call): Doc fix.
Eli Zaretskii [Thu, 3 Aug 2023 07:28:58 +0000 (10:28 +0300)]
; * lisp/progmodes/cperl-mode.el (cperl-method-call): Doc fix.

15 months agoIsolate fchmodat within the Android VFS layer
Po Lu [Thu, 3 Aug 2023 06:50:05 +0000 (14:50 +0800)]
Isolate fchmodat within the Android VFS layer

* src/android.h: Update prototypes.
* src/androidvfs.c (unix_vfs_ops, android_unix_chmod, afs_vfs_ops)
(android_afs_chmod, content_vfs_ops, android_content_chmod)
(authority_vfs_ops, android_authority_chmod, saf_root_vfs_ops)
(android_saf_root_chmod, saf_tree_vfs_ops, android_saf_tree_chmod)
(saf_file_vfs_ops, saf_new_vfs_ops, android_saf_new_chmod)
(root_vfs_ops): Add `chmod' to the list of functions implemented
by each vnode.
(android_fchmodat): New function.
* src/fileio.c (Fset_file_modes): Use `emacs_fchmodat'.
* src/lisp.h:
* src/sysdep.c (emacs_fchmodat): Delegate to android_fchmodat on
Android.

15 months agoClarify the meaning of the argument of ':align-to' space spec
Eli Zaretskii [Thu, 3 Aug 2023 05:31:17 +0000 (08:31 +0300)]
Clarify the meaning of the argument of ':align-to' space spec

* doc/lispref/display.texi (Specified Space): Clarify the meaning
and measurement of HPOS in ':align-to' space specs.  (Bug#65015)

15 months agoSupport css-ts-mode in align.el
Stefan Kangas [Wed, 2 Aug 2023 19:54:16 +0000 (21:54 +0200)]
Support css-ts-mode in align.el

* lisp/align.el (align-rules-list): Add css-ts-mode.

15 months agoSupport python-ts-mode in align.el
Stefan Kangas [Wed, 2 Aug 2023 07:25:26 +0000 (09:25 +0200)]
Support python-ts-mode in align.el

* lisp/align.el (align-dq-string-modes, align-sq-string-modes)
(align-open-comment-modes, align-rules-list): Use python-base-mode
instead of python-mode.

15 months agoAdd latex-mode tests for align.el
Stefan Kangas [Thu, 3 Aug 2023 03:45:13 +0000 (05:45 +0200)]
Add latex-mode tests for align.el

15 months agoUpdate Android port
Po Lu [Thu, 3 Aug 2023 02:41:40 +0000 (10:41 +0800)]
Update Android port

* java/org/gnu/emacs/EmacsSafThread.java (CacheToplevel):
(EmacsSafThread):
(DocIdEntry):
(getCache):
(pruneCache):
(cacheDirectoryFromCursor):
(run):
(documentIdFromName1):
(statDocument1):
(openDocumentDirectory1):
(openDocument1): Introduce a file status cache and populate
it with files within directories as they are opened.
* java/org/gnu/emacs/EmacsService.java (createDocument):
(createDirectory):
(moveDocument): Invalidate the file status cache wherever
needed.
* src/fileio.c (check_vfs_filename):
(Fset_file_modes): Permit `set-file-modes' to silently fail
on asset and content files.

15 months agoMerge remote-tracking branch 'origin/master' into feature/android
Po Lu [Thu, 3 Aug 2023 00:25:47 +0000 (08:25 +0800)]
Merge remote-tracking branch 'origin/master' into feature/android

15 months agoAdd python-mode tests for align.el
Stefan Kangas [Wed, 2 Aug 2023 22:48:23 +0000 (00:48 +0200)]
Add python-mode tests for align.el

* test/lisp/align-tests.el (align-python): New test.
* test/lisp/align-resources/python-mode.erts: New file.

15 months agocperl-mode.el: Subroutine names are fontified correctly in all places
Harald Jörg [Wed, 2 Aug 2023 21:53:42 +0000 (23:53 +0200)]
cperl-mode.el: Subroutine names are fontified correctly in all places

Subroutine names are fontified as subroutine names even if the name is also
the name of a builtin (fixing an ancient unreported bug).  Subroutine name
are just comments in comment and pod (fixing a bug introduced recently)

* lisp/progmodes/cperl-mode.el (cperl-init-faces): Move
fontification of sub declarations before that of builtins.  Don't
override existing faces when fontifying subroutine declarations.
Don't fontify method calls even if the sub names match those of
builtins.

* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-fontify-sub-names):
New tests with a subroutine name in several surroundings.

* test/lisp/progmodes/cperl-mode-resources/sub-names.pl: New resource
for the new test.

15 months ago; Prefer HTTPS to HTTP in more links
Stefan Kangas [Wed, 2 Aug 2023 21:26:52 +0000 (23:26 +0200)]
; Prefer HTTPS to HTTP in more links

15 months agoAdd nvim and ncmpcpp to eshell-visual-commands
Stefan Kangas [Wed, 2 Aug 2023 19:57:15 +0000 (21:57 +0200)]
Add nvim and ncmpcpp to eshell-visual-commands

* lisp/eshell/em-term.el (eshell-visual-commands): Add nvim and
ncmpcpp.

15 months agoMake use-package-statistics-mode non-interactive
Stefan Kangas [Wed, 2 Aug 2023 19:50:47 +0000 (21:50 +0200)]
Make use-package-statistics-mode non-interactive

* lisp/use-package/use-package-core.el
(use-package-statistics-mode): Make non-interactive; it only works in
buffers prepared by use-package-report.

15 months agoAdd let-alist to alist shortdoc group
Stefan Kangas [Wed, 2 Aug 2023 19:49:19 +0000 (21:49 +0200)]
Add let-alist to alist shortdoc group

* lisp/emacs-lisp/shortdoc.el (alist): Add let-alist.

15 months agoRefer to align-highlight-rule in face docstrings
Stefan Kangas [Wed, 2 Aug 2023 06:50:14 +0000 (08:50 +0200)]
Refer to align-highlight-rule in face docstrings

* lisp/align.el (align-highlight-change-face)
(align-highlight-nochange-face): Refer to align-highlight-rule.

15 months agoFix link to info node in prin1 docstring
Stefan Kangas [Tue, 1 Aug 2023 17:28:53 +0000 (19:28 +0200)]
Fix link to info node in prin1 docstring

* src/print.c (Fprin1): Fix linking to info node in docstring.