aboutsummaryrefslogtreecommitdiffstats
path: root/lisp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This mode is for group mode onlyLars Ingebrigtsen2021-02-131-1/+3
|
* Mark with the minor mode, not group modeLars Ingebrigtsen2021-02-131-40/+40
|
* Fix minor mode checkLars Ingebrigtsen2021-02-131-1/+3
|
* Also make the mode predicate work on minor modesLars Ingebrigtsen2021-02-132-4/+8
|
* Introduce a minor-modes variablesLars Ingebrigtsen2021-02-131-0/+4
|
* Add the mode-based declare helperLars Ingebrigtsen2021-02-131-0/+5
|
* Experiment with a mode-base `declare'Lars Ingebrigtsen2021-02-131-1/+8
|
* Menus aren't usefully completed overLars Ingebrigtsen2021-02-131-1/+4
|
* Fix loaddefs generation after the previous changeLars Ingebrigtsen2021-02-131-2/+6
|
* Convert Gnus and eww to interactive ... modesLars Ingebrigtsen2021-02-1329-940/+1007
|
* Change command to interactive ... modesLars Ingebrigtsen2021-02-135-32/+30
|
* Remove redundant autoloadsLars Ingebrigtsen2021-02-121-9/+0
|
* Mark up more functionsLars Ingebrigtsen2021-02-122-7/+9
|
* Fix ;;;###autoload cookie handlingLars Ingebrigtsen2021-02-122-3/+10
|
* There's no `declare' in lambdasLars Ingebrigtsen2021-02-121-1/+1
|
* Continue Gnus markupLars Ingebrigtsen2021-02-121-15/+21
|
* Fix the completion predicateLars Ingebrigtsen2021-02-121-1/+1
|
* Continue markups in GnusLars Ingebrigtsen2021-02-124-5/+10
|
* Add support for marking autoloads with modes and also declare completionLars Ingebrigtsen2021-02-122-13/+26
|
* Finish tagging gnus filesLars Ingebrigtsen2021-02-1110-149/+182
|
* Tag up eww.elLars Ingebrigtsen2021-02-111-35/+39
|
* Make it possible to have derived modes be non-interactiveLars Ingebrigtsen2021-02-111-1/+6
|
* Convert more Gnus commandsLars Ingebrigtsen2021-02-119-223/+220
|
* Ignore aliasesLars Ingebrigtsen2021-02-111-0/+3
|
* Clean up the M-x predicate stuff slightlyLars Ingebrigtsen2021-02-111-4/+5
|
* Hack the predicate to actually work while rethinking thisLars Ingebrigtsen2021-02-111-50/+55
|
* List commands not bound to any keysLars Ingebrigtsen2021-02-111-1/+19
|
* Allow the user to easily customize what `M-x' completes overLars Ingebrigtsen2021-02-111-1/+9
|
* Only store the command modes if we have someLars Ingebrigtsen2021-02-111-2/+8
|
* Make the new bytecode format distinguishable from the oldLars Ingebrigtsen2021-02-111-2/+2
| | | | This allows newer Emacsen to load older bytecode files
* Convert a bunch of Gnus commands to use `command'Lars Ingebrigtsen2021-02-119-371/+376
|
* Add support for the new `command' special formLars Ingebrigtsen2021-02-113-16/+40
|
* Avoid having erc in irrelevant finder categoriesStefan Kangas2021-02-1115-15/+15
| | | | | | | | | | | | | | | | | | * lisp/erc/erc-backend.el: * lisp/erc/erc-button.el: * lisp/erc/erc-dcc.el: * lisp/erc/erc-identd.el: * lisp/erc/erc-join.el: * lisp/erc/erc-lang.el: * lisp/erc/erc-log.el: * lisp/erc/erc-match.el: * lisp/erc/erc-menu.el: * lisp/erc/erc-pcomplete.el: * lisp/erc/erc-replace.el: * lisp/erc/erc-spelling.el: * lisp/erc/erc-stamp.el: * lisp/erc/erc-track.el: * lisp/erc/erc-xdcc.el: Remove irrelevant entries in Keywords header.
* * lisp/progmodes/cperl-mode.el (cperl-init-faces): Use regexp-opt.Stefan Kangas2021-02-111-100/+59
|
* * lisp/play/decipher.el: Use lexical-bindingStefan Monnier2021-02-101-50/+34
| | | | | | (decipher-mode-syntax-table): Move initialization into declaration. (decipher-mode, decipher-stats-mode): Use `define-derived-mode`. (decipher-stats-buffer): Use `buffer-local-value`.
* * lisp/leim/quail: Use lexical-bindingStefan Monnier2021-02-1010-40/+41
| | | | | | | | | | | | | | * lisp/leim/quail/hangul.el: * lisp/leim/quail/indian.el: * lisp/leim/quail/ipa.el: * lisp/leim/quail/japanese.el: * lisp/leim/quail/lao.el: * lisp/leim/quail/latin-ltx.el: * lisp/leim/quail/lrt.el: * lisp/leim/quail/sisheng.el: * lisp/leim/quail/thai.el: * lisp/leim/quail/tibetan.el: Use lexical-binding. * lisp/leim/quail/uni-input.el (ucs-input-method): Remove unused var `str`.
* * lisp/leim/quail: Use lexical-bindingStefan Monnier2021-02-101-7/+7
| | | | | | | | | | | | | | * lisp/leim/quail/hangul.el: * lisp/leim/quail/indian.el: * lisp/leim/quail/ipa.el: * lisp/leim/quail/japanese.el: * lisp/leim/quail/lao.el: * lisp/leim/quail/latin-ltx.el: * lisp/leim/quail/lrt.el: * lisp/leim/quail/sisheng.el: * lisp/leim/quail/thai.el: * lisp/leim/quail/tibetan.el: Use lexical-binding. * lisp/leim/quail/uni-input.el (ucs-input-method): Remove unused var `str`.
* * lisp/subr.el (combine-change-calls-1): Don't presume integer argsStefan Monnier2021-02-101-0/+2
| | | | | This avoids problems where the `after-change-functions` end up called with the new length rather than the old length.
* * lisp/emacs-lisp/macroexp.el (macroexp--fgrep): Break cyclesStefan Monnier2021-02-101-14/+29
| | | | * test/lisp/emacs-lisp/macroexp-tests.el: New file.
* Fix ediff even/odd faces to increase their contrast and readabilityJuri Linkov2021-02-101-14/+28
| | | | | | | | | * lisp/vc/ediff-init.el (ediff-even-diff-A, ediff-even-diff-B) (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A) (ediff-odd-diff-B, ediff-odd-diff-C): Add :distant-foreground "Black" for light background. For dark background add :distant-foreground "White", and use darker shades of grey for background colors (bug#46396).
* Fix build problem with previous facemenu changeLars Ingebrigtsen2021-02-102-5/+4
| | | | | | * lisp/facemenu.el (facemenu-add-face-function): Move to avoid a warning. (list-colors-display): Autoload.
* Simplify and speed up after-find-filePaul Eggert2021-02-101-10/+7
| | | | | | | | | | | Use newer primitives like file-accessible-directory-p to simplify and speed up longstanding code in after-find-file. * lisp/files.el (after-find-file): Prefer file-exists-p + file-symlink-p to file-attributes + file-symlink-p + file-chase-links + file-exists-p. Prefer file-accessible-directory-p to directory-file-name + file-attributes. Prefer file-directory-p to file-name-directory + file-exists-p.
* Remove the 'M-o' ('facemap-keymap') binding experimentallyLars Ingebrigtsen2021-02-102-7/+22
| | | | | | | | | | | | | | * doc/lispref/maps.texi (Standard Keymaps): * doc/lispref/keymaps.texi (Prefix Keys): Remove mentions. * etc/facemenu-removal.txt: New temporary file. * lisp/loadup.el: Don't load facemenu.el. (removed-facemenu-command): New command. (facemenu-keymap-restore): New function. * lisp/textmodes/text-mode.el (center-paragraph): Remove binding. (center-line): Remove binding.
* * lisp/emacs-lisp/edebug.el: Tweak last changeStefan Monnier2021-02-101-37/+22
| | | | | | | | | | | | | | | Use generic functions i.s.o `edebug--spec-op-function`. <toplevel>: No need to register the &foo and :foo handler any more. (edebug--handle-&-spec-op, edebug--handle-:-spec-op): New generic functions. (edebug-match-specs): Use them. (edebug--get-spec-op): Remove function. (edebug-match-&optional, edebug-match-&rest, edebug-match-&or) (edebug-match-&not, edebug-match-&key, edebug-match-&error) (edebug-match-&define): Turn functions into methods of `edebug--handle-&-spec-op`. (edebug-match-:name, edebug-match-:unique): Turn functions into methods of `edebug--handle-:-spec-op`.
* Use lexical-binding in dns-mode.elStefan Kangas2021-02-101-13/+7
| | | | | | | * lisp/textmodes/dns-mode.el: Use lexical-binding. Remove redundant :group args. * test/lisp/textmodes/dns-mode-tests.el (dns-mode-tests-dns-mode-soa-increment-serial): New test.
* Use lexical-binding in mail-utils.el and add testsStefan Kangas2021-02-101-1/+3
| | | | | * lisp/mail/mail-utils.el: Use lexical-binding. * test/lisp/mail/mail-utils-tests.el: New file.
* * list/emacs-lisp/edebug.el: Don't overload `edebug-form-spec`Stefan Monnier2021-02-101-13/+28
| | | | | | | | | | | | | | | | | | The `edebug-form-spec` symbol property was used to store two different things: the handlers for spec elements like `body` and the handlers for spec operators like `&or`. But these two sets use different calling conventions, so they're fundamentally incompatible. So, move the handlers to spec operators to the new property `edebug--spec-op-function`. This unbreaks Edebugging of: (cl-flet ((f (&rest x) x)) 3) * lisp/emacs-lisp/edebug.el <toplevel>: Split the alist of built in spec elements into normal spec element and spec ops. (edebug--get-spec-op): New function. (edebug-match-specs): Use it. (edebug-match-:name): Rename from `edebug-match-colon-name`.
* Fix local defvar scoping error (bug#46387)Mattias EngdegÄrd2021-02-101-2/+2
| | | | | | | | | | | | This bug was introduced by the lexical variable constant propagation mechanism. It was discovered by Michael Heerdegen. * lisp/emacs-lisp/byte-opt.el (byte-optimize-let-form) (byte-optimize-body): Let the effects of a local defvar declaration be scoped by let and let*, not any arbitrary Lisp expression body (such as progn). * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--get-vars) (bytecomp-local-defvar): New test.
* Minor cleanup in imenu.elStefan Kangas2021-02-101-30/+9
| | | | | * lisp/imenu.el: Doc fix; these examples have been removed. Remove redundant :group args.
* Use lexical-binding in snmp-mode.elStefan Kangas2021-02-101-27/+12
| | | | | | * lisp/net/snmp-mode.el: Use lexical-binding. Remove redundant :group args. Doc fix; remove outdated information. (snmp-mode, snmpv2-mode): Add FIXME to use define-derived-mode.