summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Prefer '(oddp A)' to '(= 1 (logand A 1))'Stefan Kangas2025-02-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calendar/todo-mode.el (todo-padded-string): * lisp/emacs-lisp/gv.el (setf): * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): * lisp/hexl.el (hexl-insert-hex-string): * lisp/play/gamegrid.el (gamegrid-xbm): * lisp/play/hanoi.el (hanoi-internal): * lisp/progmodes/ebnf2ps.el (ebnf-end-of-string): * lisp/progmodes/elisp-mode.el (elisp--highlight-function-argument): * lisp/progmodes/ruby-mode.el (ruby-backward-sexp): * lisp/ps-print.el (ps-print-page-p): (ps-print-sheet-p): Prefer '(oddp A)' to '(= 1 (logand A 1))' and variations thereof.
| * | Prefer '(evenp A)' to '(= 0 (logand A 1))'Stefan Kangas2025-02-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calc/calc-arith.el (calcFunc-dint): * lisp/calculator.el (calculator-expt): * lisp/emacs-lisp/bytecomp.el (byte-compile-unfold-bcf): * lisp/emacs-lisp/elint.el (elint-check-defcustom-form): * lisp/ps-print.el (ps-print-page-p): (ps-print-sheet-p): Prefer '(evenp A)' to '(= 0 (logand A 1))' and variations thereof.
| * | Make the rx `eval` form use lexical binding when activeMattias Engdegård2025-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, it always used dynamic binding. * lisp/emacs-lisp/rx.el (rx--expand-eval): Heed `lexical-binding`. * test/lisp/emacs-lisp/rx-tests.el (rx-tests--x, rx-tests--get-x) (rx-eval): Add test case. * etc/NEWS: Announce.
| * | Prefer '(evenp A)' to '(= 0 (% A 2))'Stefan Kangas2025-02-176-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calc/calc-comb.el (math-prime-test): * lisp/calc/calc-keypd.el (calc-keypad-press): * lisp/calc/calc-math.el (math-sqrt): (math-sqrt-raw): * lisp/calc/calc-misc.el (math-iipow): (math-iipow-show): * lisp/calc/calc-stat.el (calcFunc-vmedian): * lisp/calendar/cal-tex.el (cal-tex-cursor-filofax-2week): (cal-tex-cursor-filofax-daily): * lisp/elec-pair.el (electric-pair-post-self-insert-function): * lisp/emacs-lisp/checkdoc.el (checkdoc-in-example-string-p): * lisp/emacs-lisp/eieio.el (defclass): * lisp/emacs-lisp/ert-x.el (ert-propertized-string): * lisp/emacs-lisp/ert.el (ert--significant-plist-keys): (ert--plist-difference-explanation): * lisp/emacs-lisp/helper.el (Helper-help-scroller): * lisp/emacs-lisp/pcase.el (pcase-setq): * lisp/files-x.el (setq-connection-local): * lisp/gnus/gnus-uu.el (gnus-uu-post-encoded): * lisp/gnus/message.el (message-make-in-reply-to): * lisp/gnus/nndiary.el (nndiary-last-occurrence): (nndiary-next-occurrence): * lisp/mail/rfc2047.el (rfc2047-decode-region): * lisp/play/5x5.el (5x5-draw-grid): * lisp/play/gametree.el (gametree-compute-reduced-score): (gametree-insert-new-leaf): (gametree-break-line-here): * lisp/play/zone.el (zone-fret): * lisp/vc/ediff-ptch.el (ediff-get-patch-buffer): * lisp/yank-media.el (yank-media--utf-16-p): Prefer '(evenp A)' to '(= 0 (% A 2))' and variations thereof.
| * | Prefer '(oddp A)' to '(= 1 (% A 2))'Stefan Kangas2025-02-174-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/align.el (align-match-tex-pattern): * lisp/calc/calc-funcs.el (math-bernoulli-number): * lisp/cedet/semantic/bovine/el.el (semantic-ctxt-current-assignment): * lisp/comint.el (comint-within-quotes): * lisp/emacs-lisp/chart.el (chart-axis-draw): * lisp/emacs-lisp/cl-extra.el (cl-round): * lisp/emacs-lisp/eieio.el (defclass): * lisp/emacs-lisp/elint.el (elint-check-setq-form): * lisp/emulation/cua-rect.el (cua--rectangle-right-side): * lisp/progmodes/gud.el (gud-gdb-completions-1): * lisp/ps-print.el (ps-end-job): * lisp/ses.el (ses-center): * lisp/vc/ediff-ptch.el (ediff-get-patch-buffer): Prefer '(oddp A)' to '(= 1 (% A 2))' and variations thereof.
| * | Prefer oddp/evenp to cl-oddp/cl-evenpStefan Kangas2025-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calc/calc-ext.el (math-oddp): * lisp/calc/calc-misc.el (math-evenp): * lisp/calendar/todo-mode.el (todo-adjusted-category-label-length, todo-insert-category-line) (todo-update-categories-display): * lisp/emacs-lisp/cl-macs.el (cl-defstruct): * lisp/net/gnutls.el (open-gnutls-stream): * lisp/tab-line.el (tab-line-tab-face-inactive-alternating): * test/lisp/auth-source-tests.el (auth-source-test-macos-keychain-search): * test/lisp/emacs-lisp/cl-extra-tests.el (cl-extra-test-notany) (cl-extra-test-notevery): * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-adjoin-test): * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-loop-collect) (cl-macs-loop-append/nconc, cl-macs-loop-when) (cl-macs-loop-if): * test/lisp/emacs-lisp/cl-seq-tests.el (cl-seq-remove-test) (cl-remove-if-test, cl-remove-if-not-test, cl-seq-delete-test) (cl-delete-if-test, cl-delete-if-not-test) (cl-seq-substitute-if-test, cl-seq-substitute-if-not-test) (cl-find-if-test, cl-find-if-not-test, cl-position-if-test) (cl-seq-count-test, cl-count-if-test, cl-count-if-not-test) (cl-member-if-test, cl-member-if-not-test, cl-assoc-if-test) (cl-assoc-if-not-test, cl-rassoc-if-test) (cl-rassoc-if-not-test): * test/src/treesit-tests.el (treesit-search-forward-predicate): Prefer oddp/evenp to cl-oddp/cl-evenp where possible. * lisp/calc/calc-ext.el (cl-lib): * lisp/calc/calc-misc.el (cl-lib): Don't require.
| * | New functions oddp and evenpStefan Kangas2025-02-172-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-lib.el (cl-oddp, cl-evenp): Move from here... * lisp/subr.el (oddp, evenp): ...to here. Make old names into aliases, documented as deprecated. Add type declarations. * lisp/obsolete/cl.el: Don't alias oddp and evenp. * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-test-oddp) (cl-lib-test-evenp): Move tests from here... * test/lisp/subr-tests.el (subr-test-oddp, subr-test-evenp): ...to here. * lisp/emacs-lisp/shortdoc.el (number): Add oddp and evenp. (map): Prefer oddp and evenp to cl-oddp and cl-evenp. * doc/lispref/numbers.texi (Predicates on Numbers): Document above new functions oddp and evenp. * doc/misc/cl.texi (Predicates on Numbers): Delete cl-oddp and cl-evenp. (Other Clauses): Prefer oddp to cl-oddp.
| * | completing-read-multiple: CRM indication and prompt customizationDaniel Mendler2025-02-151-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `completing-read-multiple' prompt indicates multi completion. The customization option `crm-prompt' configures the formatting of the prompt. The variable can be set to "%p" in order to only display the original prompt, to "[%d] %p" to display the separator description and the prompt, or to "[CRM%s] %p" to display a shorter indicator of only the separator string and the prompt. * lisp/emacs-lisp/crm.el (crm-prompt): New user option. (crm-separator): Update value and docstring. (completing-read-multiple): Use `crm-prompt' to format the prompt. * etc/NEWS: Announce the change. (Bug#76028)
* | | Change criteria for non-exit cualse: car s to or a bind*.Richard Stallman2025-02-151-15/+15
|/ / | | | | | | | | | | * lisp/emacs-lisp/cond-star.el (cond*-non-exit-clause-p): Don't check for keywords; a clause is non-exit if it starts with t or with a bind*.
* | Prefer `(defsubst A ...)` to `(cl-proclaim (inline A))`Stefan Kangas2025-02-153-10/+6
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el: Remove cl-proclaim... * lisp/emacs-lisp/cl-extra.el (cl-map, cl-notany, cl-notevery) (cl-revappend, cl-nreconc): * lisp/emacs-lisp/cl-lib.el (cl-acons): ...and use defsubst instead. (Bug#76294)
* | Inline important-return-value declarations in cl-lib.elStefan Kangas2025-02-144-43/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These declarations are now properly added to 'cl-lib.el' itself, or to 'cl-loaddefs.el'. This means that they will now correctly show up immediately when loading 'cl-lib.el', instead of only after 'cl-macs.el' is pulled in by an autoload. C.f. Bug#76247. I did not considered worth reproducing everywhere the list saying which functions among the below belong to these two categories: 1. Functions that are side-effect-free except for the behavior of functions passed as argument. 2. Functions that mutate and return a list. AFAIU, this is not actionable with our current byte-compiler, i.e. we can't add any extra declarations based on it. However, if the list should be needed at some point, for example due to improvements in the compiler, this commit will be where to find it. In the worst case, and with more work, it's also deducible from the source code itself. * lisp/emacs-lisp/cl-macs.el: Move important-return-value declarations from here... * lisp/emacs-lisp/cl-extra.el (cl-map, cl-maplist, cl-mapcan) (cl-mapcon, cl-some, cl-every, cl-notany, cl-notevery, cl-nreconc): * lisp/emacs-lisp/cl-lib.el (cl-mapcar, cl-adjoin, cl-subst): * lisp/emacs-lisp/cl-seq.el (cl-reduce, cl-remove, cl-remove-if) (cl-remove-if-not, cl-delete, cl-delete-if, cl-delete-if-not) (cl-remove-duplicates, cl-delete-duplicates, cl-substitute) (cl-substitute-if, cl-substitute-if-not, cl-nsubstitute) (cl-nsubstitute-if, cl-nsubstitute-if-not, cl-find, cl-find-if) (cl-find-if-not, cl-position, cl-position-if, cl-position-if-not) (cl-count, cl-count-if, cl-count-if-not, cl-mismatch, cl-search) (cl-sort, cl-stable-sort, cl-merge, cl-member, cl-member-if) (cl-member-if-not, cl-assoc, cl-assoc-if, cl-assoc-if-not, cl-rassoc) (cl-rassoc-if, cl-rassoc-if-not, cl-union, cl-nunion, cl-intersection) (cl-nintersection, cl-set-difference, cl-nset-difference) (cl-set-exclusive-or, cl-nset-exclusive-or, cl-subsetp, cl-subst-if) (cl-subst-if-not, cl-nsubst, cl-nsubst-if, cl-nsubst-if-not, cl-sublis) (cl-nsublis, cl-tree-equal): ...to have them inline here.
* | Fix some uses of `%s` for non-strings/namesStefan Monnier2025-02-141-13/+13
| | | | | | | | | | | | | | * lisp/files.el (normal-mode, set-auto-mode--apply-alist): * lisp/gnus/nnimap.el (nnimap-command): * lisp/emacs-lisp/bytecomp.el (bytecomp--check-cus-type): Prefer %S over %s for arbitrary sexps and lists.
* | Document cl-n... set operations consistentlyBasil L. Contovounesios2025-02-142-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docstrings of cl-nintersection and cl-nset-difference have been inconsistent with their manual entries since the beginning of emacs.git history (bug#76017). This patch settles on the weaker and thus backward-compatible requirement that only their first argument be safe to mutate. * lisp/emacs-lisp/bytecomp.el: Include only first argument in mutates-arguments property. * lisp/emacs-lisp/cl-seq.el (cl-nintersection, cl-nset-difference): Make docstring consistent with manual in that the second argument is not modified. * test/lisp/emacs-lisp/cl-seq-tests.el (cl-nintersection-test) (cl-nset-difference-test): Simplify. (cl-nset-difference): Pass fresh list as second argument, otherwise destructive modifications to it could go undetected.
* | ; Fix last change to cl-extra.el.Basil L. Contovounesios2025-02-131-2/+2
| |
* | Inline side-effect-free declarations in cl-lib.elStefan Kangas2025-02-134-27/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el: Move side-effect-free declarations from here... * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-isqrt, cl-floor) (cl-ceiling, cl-truncate, cl-round, cl-mod, cl-rem, cl-signum) (cl-subseq, cl-list-length, cl-get, cl-getf): * lisp/emacs-lisp/cl-lib.el (cl-plusp, cl-minusp, cl-oddp, cl-evenp) (cl-fifth, cl-sixth, cl-seventh, cl-eighth, cl-ninth, cl-tenth) (cl-ldiff, cl-pairlis): * lisp/emacs-lisp/cl-seq.el (cl-endp): ...to have them inline here. * lisp/emacs-lisp/cl-macs.el: Move side-effect-and-error-free declarations from here... * lisp/emacs-lisp/cl-extra.el (cl-equalp, cl-random-state-p): * lisp/emacs-lisp/cl-lib.el (cl-list*, cl-acons): ...to have them inline here. (Bug#76247)
* | ; Properly quote some functions in cl-lib as suchStefan Kangas2025-02-131-32/+32
| |
* | Consolidate side-effect-free decls in cl-libStefan Kangas2025-02-121-7/+5
| | | | | | | | | | * lisp/emacs-lisp/cl-macs.el: Consolidate two identical loops with side-effect-free declarations into one.
* | Delete comments about obsolete cl--compiler-macro-cXXrStefan Kangas2025-02-121-3/+0
| | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el: * lisp/subr.el: Delete obsolete comments about compatibility alias cl--compiler-macro-cXXr.
* | Declare caar, cadr, etc. as side-effect-freeStefan Kangas2025-02-121-9/+1
| | | | | | | | | | | | | | | | | | * lisp/subr.el (caar, cadr, cdar, cddr, caaar, caadr, cadar, caddr) (cdaar, cdadr, cddar, cdddr, caaaar, caaadr, caadar, caaddr, cadaar) (cadadr, caddar, cadddr, cdaaar, cdaadr, cdadar, cdaddr, cddaar) (cddadr, cdddar, cddddr): Declare side-effect-free. * lisp/emacs-lisp/cl-macs.el: Remove redundant declarations of compatibility aliases for the above functions as side-effect-free.
* | Add compiler macros for cl-oddp and cl-evenpStefan Kangas2025-02-121-0/+2
| | | | | | | | * lisp/emacs-lisp/cl-lib.el (cl-oddp, cl-evenp): Add compiler macros.
* | Move package-x.el to lisp/obsoleteStefan Kangas2025-02-121-321/+0
| | | | | | | | | | * lisp/emacs-lisp/package-x.el: Move from here... * lisp/obsolete/package-x.el: ...to here. (Bug#76194)
* | ; Fix indentation to appease git hooksStefan Kangas2025-02-121-3/+3
| | | | | | | | | | * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal): Fix indentation.
* | Print bare symbols for EMACS_GENERATE_DYNVARSBasil L. Contovounesios2025-02-121-2/+2
| | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile--load-dynvars): Remove redundant goto-char. (byte-compile-file): Bind print-symbols-bare around .dynvars file generation. (Bug#66628)
* | Merge remote-tracking branch 'savannah/master' into master-android-1Po Lu2025-02-121-1/+3
|\ \
| * | Highlight multiple symbols in single quotes in CL stringsThuna2025-02-121-1/+3
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): When multiple space-delimited symbols are single quoted together (e.g "`foo bar'"), highlight them. (Bug#59360)
* | | Merge from savannah/emacs-30Po Lu2025-02-121-16/+10
|\ \ \ | |/ / |/| / | |/ | | | | | | 19791839cfb ; Don't document a complicated default 88bc748f52f Fix minibuffer-next-completion in completing-read-multiple 737f249aa2c ; Document 'completing-read-multiple' in the ELisp manual 37f25514602 ; * lisp/gnus/nnweb.el (nnweb-type): Doc fix.
| * Fix minibuffer-next-completion in completing-read-multipleDmitry Gutov2025-02-111-16/+10
| | | | | | | | | | | | * lisp/emacs-lisp/crm.el (completing-read-multiple): Adapt to the previous removal of completion-base-affixes (bug#48356, bug#48356).
* | Delete redundant lambdas around unary functionsStefan Kangas2025-02-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not just stylistic, but also slightly faster. These are all regular defuns, of course, as this won't work with macros and defsubsts. * lisp/calc/calc-nlfit.el (math-nlfit-fit-curve) (calc-fit-hubbert-linear-curve): * lisp/calendar/cal-tex.el (cal-tex-latexify-list): * lisp/calendar/todo-mode.el (todo-sort): * lisp/cedet/semantic/ctxt.el (semantic-ctxt-end-of-symbol-default) (semantic-ctxt-current-symbol-default): * lisp/cedet/semantic/symref.el (semantic-symref-result-get-files): * lisp/cedet/semantic/texi.el (semantic-texi-command-completion-list): * lisp/descr-text.el (describe-char): * lisp/emacs-lisp/eieio-datadebug.el (data-debug-add-specialized-thing): * lisp/emacs-lisp/rmc.el (read-multiple-choice--short-answers): * lisp/eshell/em-pred.el (eshell-modifier-alist): * lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group): * lisp/gnus/gnus-dired.el (gnus-dired-attach): * lisp/help-mode.el (help-package-def): * lisp/ibuf-ext.el (ibuffer-mark-modified-buffers): * lisp/image/image-dired.el: * lisp/international/quail.el (quail-keyseq-translate) (quail-get-translations): * lisp/isearch.el (isearch-pre-command-hook) (search-within-boundaries): * lisp/mail/supercite.el (sc-ask): * lisp/mh-e/mh-e.el (mh-variant-set): * lisp/net/rcirc.el (rcirc-nick-channels, rcirc-channel-nicks): (rcirc-browse-url): * lisp/obsolete/thumbs.el (thumbs-cleanup-thumbsdir): * lisp/org/org-agenda.el (org-agenda-filter-completion-function): * lisp/org/org-table.el (org-table-eval-formula): * lisp/org/org.el (org-set-regexps-and-options): * lisp/org/ox.el (org-export--get-inbuffer-options): * lisp/ses.el (ses-range): * lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize): * lisp/textmodes/ispell.el (ispell-begin-tex-skip-regexp): * lisp/vc/vc-cvs.el (vc-cvs-stay-local-p): * lisp/window.el (window--state-get-1): * test/lisp/emacs-lisp/shortdoc-tests.el (shortdoc-all-groups-work): Delete redundant lambdas around unary functions. (Bug#66816)
* | ; Delete redundant defvarStefan Kangas2025-02-111-2/+0
| | | | | | | | | | * lisp/emacs-lisp/lisp-mnt.el (report-emacs-bug-address): Delete redudant defvar.
* | Add new function lm-package-versionStefan Kangas2025-02-112-9/+10
| | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mnt.el (lm-package-version): New function. * lisp/emacs-lisp/package.el (package-buffer-info) (package-get-version): Use above new function. (lm-package-version): Declare.
* | Don't warn for packages without a footer lineStefan Kangas2025-02-111-17/+4
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-buffer-info): Don't warn when the terminating comment (i.e., the footer line) is missing. (Bug#26490)
* | ; * lisp/emacs-lisp/eieio.el (defclass): Add autoload cookie.Gerd Möllmann2025-02-101-0/+1
| |
* | ; Add missing section marker to ert.elStefan Kangas2025-02-091-0/+2
| |
* | Use unload-function instead of unload-hook in ertStefan Kangas2025-02-091-4/+3
| | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-unload-function): Rename from 'ert--unload-function'. (ert--unload-function): Make into obsolete function alias for the above.
* | Refresh package list without blockingPhilip Kaludercic2025-02-081-2/+5
| | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-refresh-contents): Run asynchronously when invoked interactively. * etc/NEWS: Mention the change.
* | Use read-key in amp-y-or-n-p (bug#75886)Gerd Möllmann2025-02-061-1/+6
| | | | | | | | | | * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Use read-key so that C-g in recognized when defined in input-decode-map.
* | Merge remote-tracking branch 'origin/emacs-30'Stefan Monnier2025-02-051-1/+3
|\|
| * * lisp/emacs-lisp/track-changes.el (track-changes-fetch): Fix bug#75906Stefan Monnier2025-02-031-1/+3
| |
* | Use read-key in read-multiple-choice (bug#75886)Gerd Möllmann2025-02-041-2/+8
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/rmc.el (read-multiple-choice--short-answers): Use read-key instead of read-event because read-event doesn't use input-decode-map. * test/lisp/emacs-lisp/rmc-tests.el: Use read-key instead of read-event.
* | Use #$ for lambda fixups in native compilation data vectorsPip Cet2025-02-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "#$" syntax is recognized by Fread, which substitutes Vload_file_name in its place. If Vload_file_name is bound appropriately, no other value can produce an object EQ to the one produced by "#$". We use this to check the data vector for entries that we know should have been initialized: if the value is still equal to what we bound Vload_file_name to when it was read, it wasn't initialized, and we abort. * lisp/emacs-lisp/comp.el (comp--#$): New defvar. (comp--finalize-container): Use it. * src/comp.c (ABI_VERSION): Bump. (emit_static_object): Ensure 'comp--#$' prints as "#$". (load_static_obj): Ensure '#$' reads as Vcomp__hashdollar. (check_comp_unit_relocs): Adjust assertion. (syms_of_comp): Define 'comp--#$'. * src/pdumper.c (dump_do_dump_relocation): Adjust assertion.
* | Merge from origin/emacs-30Eli Zaretskii2025-02-011-0/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6447634f171 ; * admin/MAINTAINERS: Add CC Mode. 486d5d524ca Update cc-mode URL to point to nongnu.org 17ef46e849d ; * etc/NEWS: Note CVE-2024-53920 further up also. 05ee2b741f0 ; * CONTRIBUTE: Suggest to run more tests sometimes. e74efd9a428 * CONTRIBUTE: Recommend running the unit test prior to co... a9cde2463ab Don't signal an error in treesit-node-at 5d021a711a9 ; Improve documentation of '.dir-locals.el' 84595cbcc78 ; (let-alist): Document double-dot escape syntax. (Bug#75... 5617b07a45b ; Prefer HTTPS to HTTP in docs fdd23023c84 ; * admin/MAINTAINERS: Sort external packages alphabetica... 74dcfe155a9 ; * etc/NEWS: Remove temporary documentation markers. a87c382caba ; * etc/NEWS: Add missing temporary documentation tags. 3c820cd2650 Document insert-directory-program as a user option 2c1edf5f62a doc/lispref/modes.texi (Syntactic Font Lock): Update for ... # Conflicts: # etc/NEWS
| * ; (let-alist): Document double-dot escape syntax. (Bug#75852)Eshel Yaron2025-01-271-0/+6
| |
* | Rename a recently-added variable (bug#56197)Eli Zaretskii2025-02-011-6/+7
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-fill-paragraphs-as-doc-string): Renamed from 'lisp-fill-paragraph-as-displayed' and default value reversed. (lisp-fill-paragraph): Adjust to the change. * test/lisp/emacs-lisp/lisp-mode-tests.el (lisp-fill-paragraph-as-displayed): Likewise.
* | Revert "Don't use obsolete face variables in lisp-mode.el"Stefan Kangas2025-02-011-32/+32
| | | | | | | | This reverts commit ba60fa3deaa030eb4815caa8c180ac841709e86a.
* | Merge branch 'scratch/no-purespace' into 'master'Stefan Kangas2025-02-0115-121/+88
|\ \
| * | * Make again `comp--finalize-container' compilableAndrea Corallo2024-12-181-1/+4
| | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp--finalize-container): Don't emit '--lambda-fixup' immediate in data relocations.
| * | Remove some more references to pure spaceStefan Kangas2024-12-151-2/+0
| | | | | | | | | | | | | | | | | | * lisp/auth-source.el (read-passwd-map): * lisp/emacs-lisp/eldoc.el (eldoc-message-commands) (eldoc-last-data): Remove some references to pure space.
| * | Make 'purecopy' an obsolete function alias for 'identity'Stefan Kangas2024-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (purecopy): New obsolete function alias for 'identity'. * src/alloc.c (purecopy): Remove function. (Fpurecopy): Remove DEFUN. (syms_of_alloc): Remove defsubr for above DEFUN. * lisp/loadup.el (purify-flag): Don't set to hash table. * doc/lispref/spellfile: * doc/lispref/keymaps.texi (Tool Bar): * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Delete references to 'purecopy'
| * | Delete workaround for purespace in cl-genericStefan Kangas2024-12-121-5/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Delete purespace workaround.
| * | Remove purespace fix from cl-preloaded.elStefan Kangas2024-12-121-14/+1
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Remove fix for purespace. This effectively reverts Stefan Monnier's commit e785c74d3a88.