- 24 Feb, 2021 18 commits
-
-
Stefan Monnier authored
Rely on `current-load-list` instead of `load-file-name`. * lisp/emacs-lisp/bytecomp.el (byte-compile-close-variables): Change the var we override accordingly.
-
Lars Ingebrigtsen authored
* lisp/international/quail.el (quail-update-leim-list-file): Give a better error message.
-
Lars Ingebrigtsen authored
* lisp/leim/quail/indian.el (quail-define-indian-trans-package): Reintroduce kludge to fix automatic detection by Quail.
-
Juri Linkov authored
-
Juri Linkov authored
(tab-prefix-map): Bind "O" to 'tab-previous'.
-
Stefan Monnier authored
Yes, finally: a function that tells you the name of the file where the code is located. Finding this name is non-trivial in practice, as evidenced by the "4 shift/reduce conflicts" warning when compiling CEDET's python.el, because its `wisent-source` got it wrong in that case, thinking the grammar came from `python.el` instead of `python-wy.el`. While at it, also made `macroexp-compiling-p` public, since it's useful at various places. (macroexp-compiling-p): Rename from `macroexp--compiling-p`. * lisp/emacs-lisp/bytecomp.el (byte-compile-close-variables): Bind `load-file-name` to nil so we can distinguish a load that calls the byte compiler from a byte compilation which causes a load. * lisp/cedet/semantic/wisent/python.el (wisent-python--expected-conflicts): Remove; it was just a workaround. * lisp/subr.el (do-after-load-evaluation): Avoid `byte-compile--` vars. * lisp/cedet/semantic/fw.el (semantic-alias-obsolete): Use `macroexp-compiling-p` and `macroexp-file-name`. * lisp/cedet/semantic/wisent/comp.el (wisent-source): Use `macroexp-file-name` (wisent-total-conflicts): Tighten regexp. * lisp/emacs-lisp/cl-lib.el (cl--compiling-file): Delete function and variable. Use `macroexp-compiling-p` instead. * lisp/progmodes/flymake.el (flymake-log): * lisp/emacs-lisp/package.el (package-get-version): * lisp/emacs-lisp/ert-x.el (ert-resource-directory): Use `macroexp-file-name`.
-
Ulf Jasper authored
* lisp/net/newst-treeview.el (newsticker-treeview-use-feed-name-from-url-list-in-treeview): New. (newsticker-treeview-use-feed-name-from-url-list-in-itemview): New. (newsticker--treeview-item-show): Show feed name from newsticker-url-list if wanted. (newsticker--treeview-propertize-tag): Add argument 'tooltip'. (newsticker--treeview-tree-get-tag): Usefeed name from newsticker-url-list if wanted. (Fixes third issue in Bug#41376.)
-
Lars Ingebrigtsen authored
* lisp/cedet/semantic/wisent/python.el: Fix warning about shift/reduce conflicts in the Python grammar.
-
Lars Ingebrigtsen authored
* lisp/leim/quail/indian.el (quail-define-indian-trans-package): Reintroduce kludge to fix automatic detection by Quail.
-
Lars Ingebrigtsen authored
* lisp/help-fns.el (describe-variable): Remove the "Documentation:" line (bug#46702). This makes the help text more compact and seems easier to read, too.
-
Lars Ingebrigtsen authored
* lisp/calc/calc-menu.el (calc-vectors-menu): Use the correct function `calc-times' instead of the non-existent `calc-mult' function (bug#46710).
-
Doug Davis authored
* lisp/progmodes/elisp-mode.el (emacs-lisp-byte-compile) (emacs-lisp-byte-compile-and-load): Add interactive tagging (bug#46721).
-
Miha Rihtaršič authored
* lisp/simple.el (internal-echo-keystrokes-prefix): Really run all functions in `prefix-command-echo-keystrokes-functions' (bug#46727). Copyright-paperwork-exempt: yes
-
Protesilaos Stavrou authored
* shortdoc.el (shortdoc-heading): Define new face for headings. (shortdoc-display-group): Apply new heading face. (shortdoc--display-function): Use existing face for section text. * etc/NEWS: Document new face (bug#46748).
-
Utkarsh Singh authored
* lisp/files.el (auto-mode-alist): Use sh-mode for PKGBUILD files (bug#46660). Copyright-paperwork-exempt: yes
-
Eli Zaretskii authored
* src/xdisp.c (move_it_to, display_line): Make sure ZV_BYTE is greater than 1 before fetching previous byte.
-
Eli Zaretskii authored
* src/xdisp.c (resize_mini_window): Resize the mini-window when multi-line text is displayed under truncate-lines non-nil in the minibuffer. (Bug#46718)
-
Protesilaos Stavrou authored
* vc-dir.el (vc-dir-header) (vc-dir-header-value) (vc-dir-directory) (vc-dir-file) (vc-dir-mark-indicator) (vc-dir-status-warning) (vc-dir-status-edited) (vc-dir-status-up-to-date) (vc-dir-status-ignored): Add version 28.1. (Bug#46745)
-
- 23 Feb, 2021 15 commits
-
-
Juri Linkov authored
* lisp/emacs-lisp/seq.el (seq-contains): Move the ‘declare’ form after the docstring. * lisp/misc.el (copy-from-above-command): Fix whitespace regexp.
-
Juri Linkov authored
(tab-line-tab-name-format-default): New function as the default value. (tab-line-format-template): Funcall tab-line-tab-name-format-function. This is like recently added tab-bar-tab-name-format-function.
-
Juri Linkov authored
(tab-bar-separator): New function. (tab-bar-make-keymap-1): Use it.
-
Ulf Jasper authored
-
Ulf Jasper authored
* lisp/net/newst-backend.el (newsticker-customize-feed): Leave other windws unchanged. Use search instead of re-search.
-
Ulf Jasper authored
* lisp/net/newst-backend.el (newsticker-customize): Fix invalid interactive-statement.
-
Stefan Monnier authored
* test/manual/biditest.el: Use lexical-binding. (biditest-generate-testfile): Remove unused var `levels`. * test/manual/image-circular-tests.el: Use lexical-binding. * test/manual/image-size-tests.el: Use lexical-binding. (image-size-tests): Check `fboundp` before calling `imagemagick-types`. * test/manual/redisplay-testsuite.el: Use lexical-binding. * test/manual/cedet/cedet-utests.el: Use lexical-binding. Use `with-current-buffer`. (cedet-utest): Test `fboundp` i.s.o `featurep` to silence warning. (srecode-map-save-file): Declare var. (pulse-test): Test `fboundp` before calling `pulse-available-p`. Declare `pulse-momentary-highlight-overlay` since it's not autoloaded. * test/manual/cedet/semantic-tests.el: Use lexical-binding. Use `with-current-buffer`. (semanticdb-ebrowse-dump): Remove unused var `ab`. (semanticdb-test-gnu-global): Don't use obsolete "name" arg to constructor. (cedet-utest-directory): Declare var.
-
Ulf Jasper authored
* lisp/net/newst-backend.el (newsticker-customize-feed): New. (newsticker--insert-bytes): Add documentation string. (newsticker--decode-iso8601-date): Fix documentation string. * lisp/net/newst-treeview.el (newsticker-treeview-customize-current-feed): New. (newsticker-treeview-mode-map): Add key for new command 'newsticker-treeview-customize-current-feed'. (Fixes second issue in Bug#41376.)
-
Michael Albinus authored
-
Robert Pluim authored
* doc/misc/tramp.texi (Overview): (Obtaining @value{tramp}): (Quick Start Guide): (Configuration): (Connection types): (Inline methods): (External methods): (Password handling): (Predefined connection information): (Remote shell setup): (Remote processes): (Frequently Asked Questions): (External packages): (Traces and Profiles): Grammar/style fixes.
-
Robert Pluim authored
* lisp/net/dictionary-connection.el: Grammar fix (dictionary-connection-open): Use active voice. (dictionary-connection-status): Reword and improve formatting.
-
Robert Pluim authored
* doc/misc/message.texi (System Mailer Setup): Add index entry. Mention option to use emacsclient. * etc/NEWS: Mention emacsclient option for 'mailto:' handling. * etc/emacs-mail.desktop: Add example using emacsclient. * lisp/gnus/message.el (message-mailto): Add optional url argument so we can call it from emacsclient.
-
Alan Mackenzie authored
* lisp/progmodes/cc-engine.el (c-invalidate-state-cache-1): Rewrite part of it, following the code in c-parse-state-1, to get a proper setting of c-state-cache-good-pos.
-
Stefan Kangas authored
* lisp/tar-mode.el (tar-mode-map): * lisp/textmodes/sgml-mode.el (sgml-mode-map, html-mode-map): * lisp/wdired.el (wdired-mode-map): Move menus from here... * lisp/tar-mode.el (tar-mode-immediate-menu, tar-mode-mark-menu) * lisp/textmodes/sgml-mode.el (sgml-mode-menu, html-mode-menu): * lisp/wdired.el (wdired-mode-menu): ...to here, and convert to easy-menu-define.
-
Stefan Kangas authored
* lisp/emacs-lisp/easymenu.el: Improve Commentary section.
-
- 22 Feb, 2021 7 commits
-
-
Stefan Monnier authored
(antlr-mode): Remove compatibility code with older CC-mode. This somehow appears to fix the error: In antlr-mode: progmodes/antlr-mode.el:2426:20: Error: `c-init-language-vars' defined after use in (c-init-language-vars) (missing `require' of a library file?) progmodes/antlr-mode.el:2427:26: Warning: c-init-language-vars called with 0 arguments, but requires 1 No idea what caused the error to appear after the previous patch either.
-
Lars Ingebrigtsen authored
-
Lars Ingebrigtsen authored
-
Stefan Monnier authored
Use lexical-binding in all the lisp/obsolete/*.el files. While at it, removed redundant :group arguments and used #' to quote functions. Commented out the key bindings which the #' revealed to lead to non-existing commands, and replaced those revealed to be obsolete. * lisp/obsolete/cl-compat.el: Use cl-lib. * lisp/obsolete/cust-print.el: Assume `defalias` exists. (with-custom-print): Use `declare`. * lisp/obsolete/iswitchb.el (iswitchb-init-XEmacs-trick) (iswitchb-xemacs-backspacekey): Remove functions. * lisp/obsolete/landmark.el (landmark, landmark-nslify-wts): Prefer `apply` to `eval`. * lisp/obsolete/longlines.el (longlines-mode): Don't use `add-to-list` on a hook. * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region): Use `clear-string`. * lisp/obsolete/pgg-pgp.el (pgg-pgp-encrypt-region): Remove oddly unused var `passphrase`. (pgg-pgp-verify-region): Declare var `jam-zcat-filename-list`. * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-encrypt-region): Remove oddly unused var `passphrase`. (pgg-pgp5-verify-region): Declare var `jam-zcat-filename-list`. * lisp/obsolete/pgg.el: Remove some XEmacs compatibility code. (pgg-run-at-time, pgg-cancel-timer, pgg-clear-string): Remove functions. Use their core equivalent instead. * lisp/obsolete/rcompile.el (remote-compile): Remove unused vars `l`, `l-host`, `l-user`, and `localname`. * lisp/obsolete/starttls.el (starttls-any-program-available): Use `define-obsolete-function-alias`. * lisp/obsolete/tls.el (tls-format-message): Delete function, use `format-message` instead. * lisp/obsolete/url-ns.el (url-ns-prefs): Use `with-current-buffer` and `dlet`. * lisp/obsolete/vip.el (vip-escape-to-emacs): Remove unused var `key`. (vip-command-argument, vip-read-string, ex-delete, ex-line): Remove unused var `conditions`. (ex-map): Use a closure instead of `eval`. (ex-set): Make it an alias of `set-variable`. (ex-substitute): Remove unused var `cont`. * lisp/obsolete/abbrevlist.el: * lisp/obsolete/bruce.el: * lisp/obsolete/cc-compat.el: * lisp/obsolete/cl-compat.el: * lisp/obsolete/cl.el: * lisp/obsolete/complete.el: * lisp/obsolete/crisp.el: * lisp/obsolete/cust-print.el: * lisp/obsolete/erc-compat.el: * lisp/obsolete/erc-hecomplete.el: * lisp/obsolete/eudcb-ph.el: * lisp/obsolete/fast-lock.el: * lisp/obsolete/gs.el: * lisp/obsolete/gulp.el: * lisp/obsolete/html2text.el: * lisp/obsolete/info-edit.el: * lisp/obsolete/iswitchb.el: * lisp/obsolete/landmark.el: * lisp/obsolete/lazy-lock.el: * lisp/obsolete/longlines.el: * lisp/obsolete/mailpost.el: * lisp/obsolete/mantemp.el: * lisp/obsolete/meese.el: * lisp/obsolete/messcompat.el: * lisp/obsolete/metamail.el: * lisp/obsolete/mouse-sel.el: * lisp/obsolete/nnir.el: * lisp/obsolete/old-emacs-lock.el: * lisp/obsolete/otodo-mode.el: * lisp/obsolete/patcomp.el: * lisp/obsolete/pc-mode.el: * lisp/obsolete/pc-select.el: * lisp/obsolete/pgg-def.el: * lisp/obsolete/pgg-gpg.el: * lisp/obsolete/pgg-parse.el: * lisp/obsolete/pgg-pgp.el: * lisp/obsolete/pgg-pgp5.el: * lisp/obsolete/pgg.el: * lisp/obsolete/rcompile.el: * lisp/obsolete/s-region.el: * lisp/obsolete/sb-image.el: * lisp/obsolete/sregex.el: * lisp/obsolete/starttls.el: * lisp/obsolete/sup-mouse.el: * lisp/obsolete/terminal.el: * lisp/obsolete/tls.el: * lisp/obsolete/tpu-edt.el: * lisp/obsolete/tpu-extras.el: * lisp/obsolete/tpu-mapper.el: * lisp/obsolete/url-ns.el: * lisp/obsolete/vc-arch.el: * lisp/obsolete/vi.el: * lisp/obsolete/vip.el: * lisp/obsolete/ws-mode.el: * lisp/obsolete/yow.el: Use lexical-binding.
-
Lars Ingebrigtsen authored
* doc/emacs/dired.texi (Dired Enter): Mention newlines and what to do about them. * lisp/dired.el (dired-listing-switches): Mention newlines (bug#46705).
-
Lars Ingebrigtsen authored
* lisp/help-fns.el (describe-variable): Add a newline for better readability (bug#46702). This also has the side effect of buttonizing `function-references-like-this' in the "Its value is" part. * lisp/help-mode.el (help-make-xrefs): Adjust comments.
-
Basil L. Contovounesios authored
-