* lisp/auth-source.el (auth-source-reveal-mode): Add new minor
mode to hide passwords. Remove authinfo-mode which provided a
major mode for the same purpose before.
* doc/misc/auth.texi (Hiding passwords in text buffers): Document
auth-source-reveal-mode.
Support regular expressions and API for prettify-symbols-mode
* lisp/progmodes/prog-mode.el (prettify-symbols-add-prettification-entry)
(prettify-symbols-add-prettification-rx)
(prettify-symbols-add-prettification-string)
(prettify-symbols-remove-prettification)
(prettify-symbols-remove-prettifications)
(prettify-symbols--make-regexp-keywords, prettify-symbols-alist)
(prettify-symbols-compose-replacer): Support and document
prettify-symbols-mode regular expressions in addition to fixed
strings. Provide API functions to add and remove prettifications
instead of manipulating prettify-symbols-alist directly.
Minor improvements as followup to recent RGB string-parsing change
* src/xfaces.c (Finternal_color_values_from_color_spec): Rename to...
(Fcolor_values_from_color_spec): ...this. Callers changed.
Rename the argument to SPEC and improve the doc string.
(parse_color_spec, parse_float_color_comp, parse_hex_color_comp):
Improve commentary.
(parse_color_spec): Rename the argument S to SPEC.
project-switch-to-buffer: Do not require matching input
* lisp/progmodes/project.el (project-switch-to-buffer):
Do not require matching input, to allow creating buffers as well
(bug#41879).
8ef8463...
by
=?utf-8?q?Mattias_Engdeg=C3=A5rd?= <email address hidden>
Accept lexical lambda in auto-insert-alist
This bug was exposed by a previous removal of quoting around lambda
expressions in autoinsert-tests.el (1ecd350f38ee), which caused some
of those tests to fail.
* lisp/autoinsert.el (auto-insert): Cope with lexical closures.
6242605...
by
=?utf-8?q?Mattias_Engdeg=C3=A5rd?= <email address hidden>
Fix spurious error in beginning-of-defun in pascal-mode (bug#41740)
* lisp/progmodes/pascal.el (pascal-beg-of-defun):
Ignore errors in forward-sexp.
* test/lisp/progmodes/pascal-tests.el (pascal-beg-of-defun): New test.
73daab9...
by
=?utf-8?q?Mattias_Engdeg=C3=A5rd?= <email address hidden>
Preserve point in pascal-mode completion (bug#41740)
Failure to do so caused errors in several cases.
Reported by Shinichi Sakata.
* lisp/progmodes/pascal.el (pascal-type-completion)
(pascal-completion): Wrap code that may move point in save-excursion.
* test/lisp/progmodes/pascal-tests.el: New file.