aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (tex-font-lock-keywords-1): Fix bug#68827Stefan Monnier2024-02-151-4/+7
| | | | | * lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1): Don't apply `tex-verbatim` in comments.
* ; Resolve a FIXME in rst.elJörg Bornemann2024-02-131-4/+4
| | | | | | | * lisp/textmodes/rst.el (rst-define-key): Use :documentation for the dynamically created docstrings of deprecated bindings. (Bug#69087) Copyright-paperwork-exempt: yes
* Tree-sitter support for outline-minor-mode (bug#68824)Juri Linkov2024-02-121-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/text.texi (Outline Format): Add 'outline-search-function'. * doc/lispref/elisp.texi (Top): Add new menu item "Outline Minor Mode" after "Imenu". * doc/lispref/modes.texi (Modes): Add new menu item "Outline Minor Mode" after "Imenu". (Major Mode Conventions): Mention "Outline Minor Mode" with @pxref. (Outline Minor Mode): New node. * doc/lispref/parsing.texi (Tree-sitter Major Modes): Mention 'treesit-outline-predicate' with @pxref. * lisp/treesit.el (treesit-outline-predicate): New buffer-local variable. (treesit-outline-predicate--from-imenu): New internal function. (treesit-outline-search, treesit-outline-level): New functions. (treesit-major-mode-setup): Set up treesit-outline-predicate, outline-search-function and outline-level. * lisp/progmodes/c-ts-mode.el (c-ts-mode--outline-predicate): New internal function. (c-ts-base-mode): Set 'treesit-outline-predicate' to 'c-ts-mode--outline-predicate'. * lisp/progmodes/heex-ts-mode.el (heex-ts-mode): Kill inherited local variables 'outline-heading-end-regexp', 'outline-regexp', 'outline-level'. * lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Remove 'outline-regexp'. Suggested by john muhl <jm@pub.pink>. * lisp/textmodes/html-ts-mode.el (html-ts-mode): Kill inherited local variables 'outline-heading-end-regexp', 'outline-regexp', 'outline-level'.
* Merge from origin/emacs-29Eli Zaretskii2024-02-031-33/+35
|\ | | | | | | | | | | | | | | | | b91f0ee2fcc ; Fix last change 2f69353e4a7 Fix incompatibility with tree-sitter-javascript >= 0.20.2 d49124fc14b Avoid signaling errors from 'pixel-fill-region' a3987127618 eglot: Add nushell language server 5f56bc1cdfc eglot: Add php-ts-mode to eglot-server-programs c14c978e3b1 Support kotlin-ts-mode in Eglot
| * Avoid signaling errors from 'pixel-fill-region'Eli Zaretskii2024-02-031-33/+35
| | | | | | | | | | | | | | | | * lisp/textmodes/pixel-fill.el (pixel-fill-region): Make sure the selected window displays the current buffer. This is important when this function is called inside 'with-current-buffer' or similar forms which temporarily change the buffer displayed in the selected window. (Bug#67791)
* | Fix 'fill-paragraph' in 'yaml-ts-mode'Graham Marlow2024-02-011-2/+3
| | | | | | | | | | | | * lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode--fill-paragraph): Avoid 'fill-paragraph' when outside of block_scalar or comment nodes. (Bug#68781)
* | ; Declare tree-sitter functions in yaml-ts-mode.elEli Zaretskii2024-01-271-0/+3
| | | | | | | | | | * lisp/textmodes/yaml-ts-mode.el (treesit-node-start) (treesit-node-end, treesit-node-type): Declare.
* | ; * lisp/textmodes/refill.el (refill-fill-paragraph-at): Fix typo.Eli Zaretskii2024-01-271-1/+1
| |
* | Optionally avoid extending 'completion-at-point-functions'Eshel Yaron2024-01-271-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is now possible to avoid extending 'completion-at-point-functions' in Text mode and its descendants. * lisp/textmodes/text-mode.el (text-mode-meta-tab-ispell-complete-word): Rename to... (text-mode-ispell-word-completion): ...this. Extend with another option 'completion-at-point'. (text-mode): Only extend 'completion-at-point-functions' when 'text-mode-ispell-word-completion' is 'completion-at-point'. (Bug#67527) * etc/NEWS: Update the entry about 'M-TAB' in Text mode.
* | Improve 'refill-mode' in Org buffersEli Zaretskii2024-01-271-2/+2
| | | | | | | | | | | | * lisp/textmodes/refill.el (refill-fill-paragraph-at): Use 'fill-forward-paragraph' instead of 'forward/backward-paragraph', so that modes could customize the behavior. (Bug#68418)
* | ; * lisp/textmodes/page.el (page--what-page): Fix last change.Eli Zaretskii2024-01-131-1/+1
| |
* | Fix 'what-page'Lars Brinkhoff2024-01-131-3/+5
| | | | | | | | | | | | | | | | * lisp/textmodes/page.el (page--what-page): Adjust for 1st line on page, and use 'count-lines' again. (Bug#68215) * test/lisp/textmodes/page-tests.el (page-tests-what-page): Update test.
* | Improve yaml-ts-mode fill-paragraph (bug#68226)Graham Marlow2024-01-041-0/+22
| | | | | | | | | | | | | | | | | | When using fill-paragraph on a block_scalar (the element within a block_node) fill the paragraph such that the contents remain within the block_node. This fixes the previous behavior that would clobber a block_node. * lisp/textmodes/yaml-ts-mode.el: Add yaml-ts-mode--fill-paragraph
* | ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
| |
* | Merge from savannah/emacs-29Po Lu2024-01-0254-54/+55
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc4e6b13296 ; Update copyright years in more files 64b37776318 ; Run set-copyright from admin.el 8e1c56ae467 ; Add 2024 to copyright years # Conflicts: # doc/misc/modus-themes.org # doc/misc/texinfo.tex # etc/NEWS # etc/refcards/ru-refcard.tex # etc/themes/modus-operandi-theme.el # etc/themes/modus-themes.el # etc/themes/modus-vivendi-theme.el # lib/alloca.in.h # lib/binary-io.h # lib/c-ctype.h # lib/c-strcasecmp.c # lib/c-strncasecmp.c # lib/careadlinkat.c # lib/cloexec.c # lib/close-stream.c # lib/diffseq.h # lib/dup2.c # lib/filemode.h # lib/fpending.c # lib/fpending.h # lib/fsusage.c # lib/getgroups.c # lib/getloadavg.c # lib/gettext.h # lib/gettime.c # lib/gettimeofday.c # lib/group-member.c # lib/malloc.c # lib/md5-stream.c # lib/md5.c # lib/md5.h # lib/memmem.c # lib/memrchr.c # lib/nanosleep.c # lib/save-cwd.h # lib/sha1.c # lib/sig2str.c # lib/stdlib.in.h # lib/strtoimax.c # lib/strtol.c # lib/strtoll.c # lib/time_r.c # lib/xalloc-oversized.h # lisp/auth-source-pass.el # lisp/emacs-lisp/lisp-mnt.el # lisp/emacs-lisp/timer.el # lisp/info-look.el # lisp/jit-lock.el # lisp/loadhist.el # lisp/mail/rmail.el # lisp/net/ntlm.el # lisp/net/webjump.el # lisp/progmodes/asm-mode.el # lisp/progmodes/project.el # lisp/progmodes/sh-script.el # lisp/textmodes/flyspell.el # lisp/textmodes/reftex-toc.el # lisp/textmodes/reftex.el # lisp/textmodes/tex-mode.el # lisp/url/url-gw.el # m4/alloca.m4 # m4/clock_time.m4 # m4/d-type.m4 # m4/dirent_h.m4 # m4/dup2.m4 # m4/euidaccess.m4 # m4/fchmodat.m4 # m4/filemode.m4 # m4/fsusage.m4 # m4/getgroups.m4 # m4/getloadavg.m4 # m4/getrandom.m4 # m4/gettime.m4 # m4/gettimeofday.m4 # m4/gnulib-common.m4 # m4/group-member.m4 # m4/inttypes.m4 # m4/malloc.m4 # m4/manywarnings.m4 # m4/mempcpy.m4 # m4/memrchr.m4 # m4/mkostemp.m4 # m4/mktime.m4 # m4/nproc.m4 # m4/nstrftime.m4 # m4/pathmax.m4 # m4/pipe2.m4 # m4/pselect.m4 # m4/pthread_sigmask.m4 # m4/readlink.m4 # m4/realloc.m4 # m4/sig2str.m4 # m4/ssize_t.m4 # m4/stat-time.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/stdio_h.m4 # m4/stdlib_h.m4 # m4/stpcpy.m4 # m4/strnlen.m4 # m4/strtoimax.m4 # m4/strtoll.m4 # m4/time_h.m4 # m4/timegm.m4 # m4/timer_time.m4 # m4/timespec.m4 # m4/unistd_h.m4 # m4/warnings.m4 # nt/configure.bat # nt/preprep.c # test/lisp/register-tests.el
| * ; Add 2024 to copyright yearsPo Lu2024-01-0254-54/+54
| |
* | ; Clean up some Keyword headersStefan Kangas2023-12-301-1/+1
| |
* | ; Prefer finder keyword "text" to deprecated keyword "wp"Stefan Kangas2023-12-3015-15/+15
| |
* | * lisp/textmodes/remember.el: Remove org-remember support.Ihor Radchenko2023-12-301-4/+3
| | | | | | | | | | | | | | org-remember has been removed from Org mode proper and then from org-contrib 10 years ago in https://git.sr.ht/~bzg/org-contrib/commit/be8736195e (Bug#68076)
* | Merge from origin/emacs-29Eli Zaretskii2023-12-231-2/+11
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a4751657389 * doc/man/emacsclient.1: Fix --tramp option. 1e5357d3d1f * doc/man/emacsclient.1: Add missing sections (bug#66598) fba7b9db397 Add explanation for extra parentheses in ELisp Introduction 77232826821 Add sample code to the "let*" section in "forward-paragraph" 7a00ca92c19 Fix treesit test (bug#67117) d220893216c Fix c++-ts-mode indentation (bug#67975) d386a8aa43f Recommend customizing eglot for python-base-mode bd0c7589715 Improve documentation of new native-compilation commands 1ad126c0f28 ; Fix typo 77678244b83 doc/lispintro: Don't mention `set` (bug#67734) cb3684e9dfa Fix script for some characters 2922d683b78 ; * src/treesit.c (treesit_traverse_child_helper): Fix co... 7b315e8a5c9 Fix an issue when searching subtree backward (bug#67117) 03625c2fefa Fix passive mode for tnftp client in ange-ftp.el. b6429b1c1c7 ; Improve documentation of ispell.el's dictionary database 75cc1593412 ; * etc/PROBLEMS: Update the "GnuPG hangs" entry. 67d9af1c074 Fix using disabled command without a docstring f68f3500236 Improve documentation of text properties handling when ya... 06c399914fa Eglot: Add Uiua language server
| * ; Fix typoStefan Kangas2023-12-221-1/+1
| |
| * ; Improve documentation of ispell.el's dictionary databaseEli Zaretskii2023-12-171-2/+11
| | | | | | | | | | * lisp/textmodes/ispell.el (ispell-dictionary-base-alist) (ispell-dictionary-alist): Doc fixes. (Bug#67857)
* | (bibtex-font-lock-keywords): Expose a lambda to the compilerStefan Monnier2023-12-201-7/+7
| | | | | | | | | | | | | | Also use #' to quote function names. * lisp/textmodes/bibtex.el (bibtex-font-lock-keywords): Expose a lambda to the compiler.
* | ; Remove long annotation for word completion candidatesEshel Yaron2023-12-061-1/+0
| | | | | | | | | | * lisp/textmodes/ispell.el (ispell-completion-at-point): Remove ':annotation-function' from return value.
* | ; * lisp/textmodes/ispell.el (ispell-complete-word): Remove FIXME.Eli Zaretskii2023-11-261-1/+0
| |
* | Unbind 'C-M-i' in Text modeEshel Yaron2023-11-262-3/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the binding of 'C-M-i' to 'ispell-complete-word' in Text mode. Define a new 'ispell-completion-at-point' function and add that to 'completion-at-point-functions' in Text mode, such that 'completion-at-point' provides the same word completions as 'ispell-complete-word' does OOTB. * lisp/textmodes/ispell.el (ispell-completion-at-point): New function. * lisp/textmodes/text-mode.el (text-mode): Add it to 'c-a-p-functions'. (text-mode-map): Remove 'C-M-i' binding. (text-mode-meta-tab-ispell-complete-word): New user option. * etc/NEWS: Announce it. * doc/emacs/fixit.texi (Spelling) * doc/emacs/text.texi (Text Mode) * doc/lispref/modes.texi (Basic Major Modes) (Example Major Modes): Update. * lisp/mail/sendmail.el (mail-abbrevs-loaded) * lisp/nxml/nxml-mode.el (nxml-mode-map): Remove superfluous binding.
* | Merge from origin/emacs-29Eli Zaretskii2023-11-181-1/+2
|\ \ | |/ | | | | | | | | 32a32853ce9 Typofix in the doc/lispref/modes.texi f98637b51b5 ; Fix 'add-face-text-property' shortdoc 3fff22eb20c Fix spell-checking email message with citations
| * Fix spell-checking email message with citationsEli Zaretskii2023-11-141-1/+2
| | | | | | | | | | | | This became broken 7 years ago, when the 'boundp condition was removed, and with it an important unrelated part of the code. * lisp/textmodes/ispell.el (ispell-message): Fix cite-regexp.
| * Recognize backslash in `dns-mode` quoted valuesLassi Kortela2023-10-241-0/+1
| | | | | | | | | | | | | | * lisp/textmodes/dns-mode.el (dns-mode-syntax-table): Recognize backslash as an escape character. (Bug#66660) (cherry picked from commit e6f05e189db73a0f0b29f987381ffef61a409232)
| * Make `dns-mode` fontify quoted values correctlyStefan Kangas2023-10-241-0/+1
| | | | | | | | | | | | | | | | * lisp/textmodes/dns-mode.el (dns-mode-syntax-table): Fontify quoted values correctly. (Bug#62214) Suggested by Trent W. Buck <trentbuck@gmail.com>. (cherry picked from commit c586d984f279aa61de4f5dfc4f6df660188dd0f6)
* | Fix 'tex-compile-commands'Eli Zaretskii2023-11-151-0/+1
| | | | | | | | | | * lisp/textmodes/tex-mode.el (tex-compile-commands): Respect 'tex-start-options' better. (Bug#67030)
* | Eliminate some nested repetitions in regexpsMattias Engdegård2023-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nested repetitions such as (A*)* potentially take exponential time but can usually be rewritten in a faster and more readable way without much trouble. These were all found by Relint. * lisp/obsolete/terminal.el (te-parse-program-and-args): * lisp/org/org.el (org-make-tags-matcher): Apply the transform (A+B*)+ -> A(A|B)* * lisp/textmodes/fill.el (adaptive-fill-regexp): Apply the transform A*(B+A*)* -> (A|B)* * lisp/progmodes/idlw-shell.el (idlwave-shell-filter): Find the last newline or CR in a more direct way. * lisp/progmodes/vhdl-mode.el (vhdl-port-copy, vhdl-subprog-copy): Trim trailing whitespace from a string in a more direct way. All-whitespace strings are left unchanged as before.
* | Recognize backslash in `dns-mode` quoted valuesLassi Kortela2023-10-211-0/+1
| | | | | | | | | | * lisp/textmodes/dns-mode.el (dns-mode-syntax-table): Recognize backslash as an escape character. (Bug#66660)
* | Address defcustom :type warningsBasil L. Contovounesios2023-09-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calendar/diary-lib.el (diary-display-function): * lisp/calendar/icalendar.el (icalendar-export-alarms): * lisp/emacs-lisp/elint.el (elint-ignored-warnings): * lisp/mail/sendmail.el (send-mail-function): * lisp/net/gnutls.el (gnutls-verify-error): * lisp/gnus/mm-decode.el (mm-text-html-renderer): * lisp/gnus/message.el (message-send-mail-function): Fix misplaced defcustom :tags (bug#66196). (message-tool-bar): Remove duplicate, overwritten, and nonexistent defcustom :type gmm-tool-bar-list-item. * lisp/progmodes/idlwave.el (idlwave-begin-line-comment): Strip excessive defcustom :type quoting. * lisp/progmodes/ps-mode.el (ps-mode-paper-size): Consolidate paper sizes with same dimensions into a single defcustom menu entry. * lisp/textmodes/glyphless-mode.el (glyphless-mode-types): Remove duplicate defcustom :type choice.
* | ; Grammar fixes ("allow to" et al)Stefan Kangas2023-09-171-1/+1
| | | | | | | | | | | | Ref: https://lists.gnu.org/r/emacs-devel/2016-01/msg01598.html https://lists.gnu.org/r/emacs-devel/2016-01/msg01465.html
* | Declare more functions as shift-translatable motion commandsJens Schmidt2023-09-161-2/+2
| | | | | | | | | | | | | | | | * lisp/comint.el (comint-next-prompt, comint-previous-prompt): Declare as shift-translatable motion commands. * lisp/textmodes/sgml-mode.el (sgml-skip-tag-backward) (sgml-skip-tag-forward): Declare as shift-translatable motion commands. (Bug#65876)
* | Merge from origin/emacs-29Eli Zaretskii2023-09-092-11/+11
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bc56da92d8d ; Fix error in 'tex-recenter-output-buffer' d17c5adc057 Fix regexp for recognizing PBM images 9e9f61866e7 Improve wording in ELisp manual 7427efa033b Fix typo (Bug#65764) 59c66244080 ; * lisp/ido.el (ido-completion-buffer): Fix :type (bug#6... 4ec4b18c2a0 Fix libgccjit build on Haiku 80bdcf8f351 (regexp-tests-backtrack-optimization): Mark it as failing 8a9e653cc82 ; Add regression test for bug#65726 6fad73d7cc5 * src/regex-emacs.c (mutually_exclusive_p): Fix inf-loop ... 1d3d4196073 ; * lisp/files.el (save-some-buffers-functions): Doc fix ... 42b14c6e5bb Bump seq version to 2.24 ff5190a174f Add note on ELPA to admin/notes/bug-triage f1e4cbe72aa ; * etc/PROBLEMS: Minor wording fix. fd5593c7f25 * etc/PROBLEMS: Mention bug#65432 and its remedy. dd896ea1e62 Ignore errors when checking for object initializers (bug#... 3550f44c17c ; Fix typos 5b246b9b817 * CONTRIBUTE: Document making ChangeLogs with Magit. 0bd46619413 Doc fixes for obsolete functions and variables 524c0c34f24 ; * lisp/ffap.el (ffap-rfs-regexp): Fix :type (bug#65698). f48dccc4675 Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/... 71a85e22668 A revision to the Widget manual dbbcf4a6599 Fix fontification of " in edit-kbd-macro # Conflicts: # test/src/regex-emacs-tests.el
| * ; Fix error in 'tex-recenter-output-buffer'Eshel Yaron2023-09-061-9/+9
| | | | | | | | | | | | * lisp/textmodes/tex-mode.el (tex-recenter-output-buffer): Check that 'display-buffer' returned a window, rather than nil, before selecting it. (Bug#65762)
| * Doc fixes for obsolete functions and variablesStefan Kangas2023-09-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * admin/notes/multi-tty: * doc/emacs/building.texi (Debugger Operation): * doc/misc/efaq-w32.texi (Line ends by file system): * doc/misc/gnus.texi (Hashcash): * lisp/emacs-lisp/eieio.el (eieio-class-parents) (eieio-class-children): * lisp/progmodes/perl-mode.el: * lisp/textmodes/ispell.el (ispell-lookup-words): * src/buffer.h: Update or delete references to variables and functions made obsolete in Emacs 24.4.
* | Mark two flyspell functions as internalStefan Kangas2023-09-081-24/+13
| | | | | | | | | | | | | | * lisp/textmodes/flyspell.el: Minor doc fix. (flyspell--mode-on, flyspell--mode-off): Rename from 'flyspell-mode-on' and 'flyspell-mode-off'. The old names are preserved as obsolete aliases.
* | Remove compat code from flyspellStefan Kangas2023-09-061-12/+0
| | | | | | | | * lisp/textmodes/flyspell.el: Delete redundant autoloads.
* | Make `dns-mode` fontify quoted values correctlyStefan Kangas2023-09-051-0/+1
| | | | | | | | | | | | * lisp/textmodes/dns-mode.el (dns-mode-syntax-table): Fontify quoted values correctly. (Bug#62214) Suggested by Trent W. Buck <trentbuck@gmail.com>.
* | Prefer reusing seq-remove in reftexStefan Kangas2023-09-031-10/+5
| | | | | | | | | | * lisp/textmodes/reftex.el (reftex-remove-symbols-from-list): Make obsolete in favor of 'seq-remove'. Update single caller.
* | Obsolete treesit-block/sexp/sentence/text-type-regexpYuan Fu2023-09-011-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And replace them with treesit-thing-settings. * doc/lispref/positions.texi (List Motion): Remove mention of treesit-sexp/sentence-type-regexp. * lisp/progmodes/c-ts-mode.el (c-ts-base-mode) * lisp/progmodes/dockerfile-ts-mode.el (dockerfile-ts-mode) * lisp/progmodes/java-ts-mode.el (java-ts-mode) * lisp/progmodes/js.el (js-ts-mode) * lisp/progmodes/json-ts-mode.el (json-ts-mode) * lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode) * lisp/progmodes/typescript-ts-mode.el (typescript-ts-base-mode) (tsx-ts-mode) * lisp/progmodes/heex-ts-mode.el (heex-ts-mode) * lisp/progmodes/sh-script.el (bash-ts-mode) * lisp/progmodes/prog-mode.el (prog-fill-reindent-defun) * lisp/textmodes/html-ts-mode.el (html-ts-mode): Replace treesit-sexp/sentence/text-type-regexp with treesit-thing-settings. * lisp/treesit.el (treesit-sexp-type-regexp) (treesit-sentence-type-regexp): Mark obsolete. (treesit-block-type-regexp): Remove. * lisp/treesit.el (treesit-forward-sexp) (treesit-transpose-sexps) (treesit-beginning-of-defun) (treesit-end-of-defun) (treesit-forward-sentence) (treesit-defun-at-point): Make use of treesit-thing-settings. (treesit-thing-definition) (treesit-thing-defined-p): New functions. (treesit-major-mode-setup): Replace treesit-sexp/sentence-type-regexp with treesit-thing-settings.
* | Clean up some safe-local-variable predicatesStefan Kangas2023-08-301-1/+1
| | | | | | | | | | | | | | | | * lisp/progmodes/project.el: Add comments with a reminder to simplify 'safe-local-variable' predicates when Emacs 28 support is dropped. (project-vc-ignores): Mark only a list of strings as safe-local. * lisp/textmodes/reftex-vars.el (reftex-guess-label-type): Use booleanp for 'safe-local-variable' predicate. (Bug#65608)
* | Use ensure-list in many more placesStefan Kangas2023-08-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/align.el (align-region): * lisp/auth-source-pass.el (auth-source-pass--build-result-many): * lisp/auth-source.el (auth-source-ensure-strings): * lisp/calendar/appt.el (appt-disp-window): * lisp/cedet/mode-local.el (mode-local-map-mode-buffers): * lisp/cus-edit.el (custom-prompt-variable) (custom-variable-menu-create): * lisp/dired-x.el (dired-mark-extension, dired-mark-suffix): * lisp/emacs-lisp/checkdoc.el (checkdoc-defun-info): * lisp/emacs-lisp/eieio.el (object-add-to-list): * lisp/emulation/cua-base.el (cua--M/H-key): * lisp/epg.el (epg--list-keys-1): * lisp/faces.el (read-face-name): * lisp/format.el (format-decode): * lisp/gnus/gnus-score.el (gnus-home-score-file) (gnus-all-score-files): * lisp/gnus/gnus-uu.el (gnus-uu-grab-articles): * lisp/gnus/message.el (message-make-forward-subject): * lisp/gnus/nnmairix.el (nnmairix-create-search-group): * lisp/gnus/spam.el (spam-copy-or-move-routine): * lisp/help-fns.el (describe-face): * lisp/ibuf-macs.el (define-ibuffer-filter): * lisp/international/mule-cmds.el (select-safe-coding-system): * lisp/net/imap.el (imap-send-command): * lisp/printing.el (pr-menu-get-item): * lisp/speedbar.el (speedbar-add-supported-extension) (speedbar-add-ignored-directory-regexp): * lisp/textmodes/rst.el (rst-forward-line-looking-at): * lisp/vc/ediff-util.el (ediff-other-buffer): * lisp/vc/diff.el (diff-no-select): * lisp/vc/vc-dir.el (vc-dir-mark-state-files): * lisp/wid-edit.el (widget-prompt-value): * lisp/windmove.el (windmove-default-keybindings) (windmove-display-default-keybindings) (windmove-delete-default-keybindings) (windmove-swap-states-default-keybindings): * lisp/window.el (display-buffer-reuse-mode-window): * lisp/woman.el (woman-expand-directory-path): Prefer ensure-list.
* | Make ispell localwords safe local variableJoseph Turner2023-08-261-0/+1
| | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-buffer-session-localwords): Make safe local variable to so that checkdoc can ignore words in a project in batch mode.
* | ; Delete redundant defvars; font-lock is preloadedStefan Kangas2023-08-253-10/+1
| |
* | Assume that font-lock is preloadedStefan Kangas2023-08-256-14/+11
| | | | | | | | | | | | | | * lisp/org/ox-beamer.el (org-mode): Assume that font-lock is preloaded, which it has been since Emacs 22.1. * lisp/textmodes/reftex.el (reftex-use-fonts): Make function obsolete in favor of variable. Update all callers.
* | Fix bibtex-font-lock-url-regexpRoland Winkler2023-08-221-1/+1
| | | | | | | | | | Fix bibtex-font-lock-url-regexp to allow line breaks between the field name and the field string.