aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * * etc/NEWS: Fix inconsistencies.Michael Albinus2020-04-251-8/+8
| |
* | Use lexical-binding in most eshell testsStefan Kangas2020-04-293-3/+3
| | | | | | | | | | | | * test/lisp/eshell/em-hist-tests.el: * test/lisp/eshell/em-ls-tests.el: * test/lisp/eshell/esh-opt-tests.el: Use lexical-binding.
* | Add new tests to bindat-tests.elStefan Kangas2020-04-292-1/+17
| | | | | | | | | | | | | | * test/lisp/emacs-lisp/bindat-tests.el (bindat-test-format-vector) (bindat-test-vector-to-dec, bindat-test-vector-to-hex) (bindat-test-ip-to-string): New tests. * lisp/emacs-lisp/bindat.el (bindat-vector-to-hex): Fix typo.
* | Use lexical-binding in float-sup.el and add testsStefan Kangas2020-04-292-1/+34
| | | | | | | | | | * lisp/emacs-lisp/float-sup.el: Use lexical-binding. * test/lisp/emacs-lisp/float-sup-tests.el: New file.
* | Use lexical-binding in rfc2368.el and add testsStefan Kangas2020-04-282-1/+40
| | | | | | | | | | * lisp/mail/rfc2368.el: Use lexical-binding. * test/lisp/mail/rfc2368-tests.el: New file.
* | Use lexical-binding in version.el and add testsStefan Kangas2020-04-282-1/+32
| | | | | | | | | | * lisp/version.el: Use lexical-binding. * test/lisp/version-tests.el: New file.
* | Use lexical-binding in puny.el and add more testsStefan Kangas2020-04-282-1/+22
| | | | | | | | | | | | | | * lisp/net/puny.el: Use lexical-binding. * test/lisp/net/puny-tests.el (puny-test-encode-domain) (puny-test-decode-domain, puny-highly-restrictive-domain-p): New tests.
* | Use lexical-binding in hmac-md5.el and add testsStefan Kangas2020-04-282-37/+83
| | | | | | | | | | * lisp/net/hmac-md5.el: Use lexical-binding. * test/lisp/net/hmac-md5-tests.el: New file.
* | Use lexical-binding in many emacs-lisp testsStefan Kangas2020-04-287-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/bytecomp-tests.el: * test/lisp/emacs-lisp/ert-x-tests.el: * test/lisp/emacs-lisp/nadvice-tests.el: * test/lisp/emacs-lisp/pcase-tests.el: * test/lisp/emacs-lisp/seq-tests.el: * test/lisp/emacs-lisp/subr-x-tests.el: * test/lisp/emacs-lisp/text-property-search-tests.el: Use lexical-binding. * test/lisp/emacs-lisp/seq-tests.el (test-seq-filter) (test-seq-remove, test-seq-count, test-seq-every-p): Silence byte-compiler.
* | Use lexical-binding in most semantic testsStefan Kangas2020-04-285-25/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/cedet/semantic-utest-fmt.el: * test/lisp/cedet/semantic-utest-ia.el: * test/lisp/cedet/semantic-utest.el: * test/lisp/cedet/srecode-utest-getset.el: * test/lisp/cedet/srecode-utest-template.el: Use lexical-binding. * test/lisp/cedet/semantic-utest-fmt.el (semantic-fmt-utest): * test/lisp/cedet/semantic-utest.el (semantic-utest-generic) (semantic-utest-Python, semantic-utest-Javascript) (semantic-utest-Java, semantic-utest-Makefile) (semantic-utest-Scheme, semantic-utest-Html, semantic-utest-PHP) (semantic-utest-Csharp, semantic-utest-last-invalid): * test/lisp/cedet/semantic-utest-ia.el (semantic-ia-utest-buffer) (semantic-symref-test-count-hits-in-tag): * test/lisp/cedet/srecode-utest-getset.el (srecode-insert-getset-fully-automatic-flag): Silence byte-compiler.
* | Don't skip test semantic-utest-PythonStefan Kangas2020-04-281-1/+1
| | | | | | | | | | * test/lisp/cedet/semantic-utest.el (semantic-utest-Python): Ensure test is not skipped.
* | Use lexical-binding in most progmodes testsStefan Kangas2020-04-288-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/progmodes/etags-tests.el: * test/lisp/progmodes/f90-tests.el: * test/lisp/progmodes/ps-mode-tests.el: * test/lisp/progmodes/python-tests.el: * test/lisp/progmodes/ruby-mode-tests.el: * test/lisp/progmodes/subword-tests.el: * test/lisp/progmodes/tcl-tests.el: * test/lisp/progmodes/xref-tests.el: Use lexical-binding. * test/lisp/progmodes/python-tests.el (python-tests-visible-string) (python-tests-look-at-1, python-tests-look-at-2) (python-shell-calculate-process-environment-2): Silence byte-compiler.
* | Use lexical-binding in most vc testsStefan Kangas2020-04-286-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/vc/add-log-tests.el: * test/lisp/vc/diff-mode-tests.el: * test/lisp/vc/ediff-ptch-tests.el: * test/lisp/vc/smerge-mode-tests.el: * test/lisp/vc/vc-hg-tests.el: * test/lisp/vc/vc-tests.el: Use lexical-binding. * test/lisp/vc/add-log-tests.el (add-log-current-defun-deftest): Silence byte-compiler.
* | Improve multibyte_length performancePaul Eggert2020-04-271-21/+21
| | | | | | | | | | | | | | * src/character.h (multibyte_length): Merge tests so that there are fewer conditional branches. This improved CPU speed of ‘make compile-always’ by about 1.5% on my platform.
* | * lisp/jit-lock.el: Don't use `make-variable-buffer-local` on hooks.Stefan Monnier2020-04-271-4/+6
| | | | | | | | | | (jit-lock-functions): Clarify that it's a hook. (jit-lock-unregister): Adjust accordingly.
* | Use lexical-binding in calendar testsStefan Kangas2020-04-272-8/+7
| | | | | | | | | | | | | | | | | | * test/lisp/calendar/icalendar-tests.el: * test/lisp/calendar/parse-time-tests.el: Use lexical-binding. * test/lisp/calendar/icalendar-tests.el (icalendar--format-ical-event) (icalendar--decode-isodatetime, icalendar-tests--do-test-import) (icalendar-tests--decode-isodatetime): Silence byte-compiler.
* | Simplify string-to-charPaul Eggert2020-04-261-12/+6
| | | | | | | | | | | | | | | | | | * src/editfns.c (Fstring_to_char): Simplify. * src/editfns.c (Fstring_to_char): Simplify. This tweak improved the CPU time performance of ‘make compile-always’ by about 1.8% on my platform.
* | Improve string_char_and_length speedPaul Eggert2020-04-262-65/+27
| | | | | | | | | | | | | | | | | | This tweak improved the CPU time performance of ‘make compile-always’ by about 1.7% on my platform. * src/character.c (string_char): Remove; no longer used. * src/character.h (string_char_and_length): Redo so that it needn’t call string_char. This helps the caller, which can now become a leaf function.
* | * test/lisp/mail/rfc2045-tests.el: Make it work.Glenn Morris2020-04-261-0/+1
| |
* | Use lexical-binding for themesStefan Kangas2020-04-2614-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/themes/adwaita-theme.el: * etc/themes/deeper-blue-theme.el: * etc/themes/dichromacy-theme.el: * etc/themes/light-blue-theme.el: * etc/themes/manoj-dark-theme.el: * etc/themes/misterioso-theme.el: * etc/themes/tango-dark-theme.el: * etc/themes/tango-theme.el: * etc/themes/tsdh-dark-theme.el: * etc/themes/tsdh-light-theme.el: * etc/themes/wheatgrass-theme.el: * etc/themes/whiteboard-theme.el: * etc/themes/wombat-theme.el: Use lexical-binding.
* | Use lexical-binding in dos-vars.elStefan Kangas2020-04-261-4/+2
| | | | | | | | | | | | * lisp/dos-vars.el: Use lexical-binding. (msdos-shells, dos-codepage-setup-hook): Remove redundant :group args.
* | Fix tramp-test32-shell-command-dont-erase-bufferMichael Albinus2020-04-261-18/+134
| | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test32-shell-command-dont-erase-buffer): Adapt test.
* | Use lexical-binding in spook.elStefan Kangas2020-04-261-5/+3
| | | | | | | | | | | | * lisp/play/spook.el: Use lexical-binding. (spook-phrases-file, spook-phrase-default-count): Remove redundant :group args.
* | Use lexical-binding for rfc2045.el and add testsStefan Kangas2020-04-262-1/+37
| | | | | | | | | | * lisp/mail/rfc2045.el: Use-lexical-binding. * test/lisp/mail/rfc2045-tests.el: New file.
* | Inline a couple of functions that were macrosPaul Eggert2020-04-252-2/+2
| | | | | | | | | | | | | | | | This reclaims a bit of performance when compiling with gcc -Og. These functions were macros until I changed them in 2020-04-17T14:57:25Z!eggert@cs.ucla.edu. * src/casefiddle.c (make_char_unibyte): * src/ccl.c (GET_TRANSLATION_TABLE): Now inline.
* | Use lexical-binding in dig.el and add testsStefan Kangas2020-04-262-7/+60
| | | | | | | | | | | | | | * lisp/net/dig.el: Use lexical-binding. (dig-program, dig-dns-server, dig-font-lock-keywords): Remove redundant :group args. * test/lisp/net/dig-tests.el: New file.
* | Use lexical-binding in misc.el and add testsStefan Kangas2020-04-262-1/+78
| | | | | | | | | | * lisp/misc.el: Use lexical-binding. * test/lisp/misc-tests.el: New file.
* | Improve list-dynamic-libraries when alist emptyStefan Kangas2020-04-251-2/+4
| | | | | | | | | | * lisp/misc.el (list-dynamic-libraries--refresh): Improve list format and show message when 'dynamic-library-alist' is empty.
* | Merge from origin/emacs-27Glenn Morris2020-04-2522-205/+436
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 45a64c97c7 (origin/emacs-27) Clarify semantics of trace-function CONT... 821760fdc4 Don't let a code literal get modified in mml parsing (Bug#... 74a92be16d * lisp/simple.el (kill-ring-save): Doc fix. (Bug#40797) 3d0e859692 Minor doc clarification regarding fringe bitmaps 4d86c7f822 Fix documentation of fringe bitmaps a76af88dd8 Tweak mutability doc a bit more f7e488d206 Calc: fix autoload errors (bug#40800) 369761b36d ; * src/xdisp.c: Improve the introductory commentary. a92ca1f177 Improve indexing of ELisp manual 5a25d17760 * lisp/image-mode.el (image-transform-resize): Remove FIXM... 37ebec3a95 Improve the default value of 'doc-view-ghostscript-program'. ba6104d1e8 Change doc-view-mode-map prefix key 's' to 'c'. 400ff5cd19 Improve wording about constants d2836fe71b Improve the default value of 'doc-view-ghostscript-program'. fc55f65305 Minor improvements in documentation of the last change a64da75961 Add image-auto-resize defcustoms to image-mode.el 692ad40539 Improve the documentation of tab-bar and tab-line # Conflicts: # etc/NEWS
| * Clarify semantics of trace-function CONTEXT argumentNoam Postavsky2020-04-251-1/+3
| | | | | | | | | | * lisp/emacs-lisp/trace.el (trace-function-foreground): Explain that CONTEXT should be a function, when called from Lisp.
| * Don't let a code literal get modified in mml parsing (Bug#39884)Noam Postavsky2020-04-251-1/+1
| | | | | | | | | | * lisp/gnus/mml.el (mml-parse-1): Make a fresh cons for the tag type, because 'mml-generate-mime' destructively modifies it.
| * * lisp/simple.el (kill-ring-save): Doc fix. (Bug#40797)Eli Zaretskii2020-04-251-1/+1
| |
| * Minor doc clarification regarding fringe bitmapsClément Pit-Claudel2020-04-251-1/+2
| | | | | | | | | | | | * doc/lispref/display.texi (Customizing Bitmaps): Add a note regarding the order of bits being the opposite of that in XBM images. (Bug#40784)
| * Fix documentation of fringe bitmapsEli Zaretskii2020-04-251-3/+4
| | | | | | | | | | * doc/lispref/display.texi (Fringe Bitmaps): The 'empty-line' fringe indicator _is_ used. (Bug#40799)
| * Tweak mutability doc a bit morePaul Eggert2020-04-241-2/+2
| | | | | | | | | | Inspired by a comment from Michael Heerdegen (Bug#40671#114). * doc/lispref/objects.texi (Constants and Mutability): Tweak further.
| * Calc: fix autoload errors (bug#40800)Mattias Engdegård2020-04-242-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | Reported by Hugo Daschbach. * lisp/calc/calc-ext.el (calc-init-extensions): Remove calc-kbd-report key binding and autoload; it was removed in 2005. calc-keypad-x-{left,right,middle}-click were renamed to calc-keypad-{left,right,middle}-click in 2001; fix the autoloads. calc-twos-complement-mode is a variable, not a function; remove the autoload. * lisp/calc/calc-prog.el: Remove commented-out calc-kbd-report.
| * ; * src/xdisp.c: Improve the introductory commentary.Eli Zaretskii2020-04-241-95/+176
| |
| * Improve indexing of ELisp manualStefan Kangas2020-04-241-0/+1
| | | | | | | | * doc/lispref/tips.texi (Tips): Add index entry 'best practices'.
| * * lisp/image-mode.el (image-transform-resize): Remove FIXME comment.Juri Linkov2020-04-241-1/+0
| | | | | | | | | | The user customizable variable 'image-auto-resize' is documented now in the manual.
| * Improve the default value of 'doc-view-ghostscript-program'.Tassilo Horn2020-04-231-9/+7
| | | | | | | | | | | | * lisp/doc-view.el (doc-view-ghostscript-program): Use plain command name instead of qualified name returned by executable-find (as suggested by Stefan Monnier). (Bug#36357)
| * Change doc-view-mode-map prefix key 's' to 'c'.Juri Linkov2020-04-235-38/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/misc.texi (DocView Slicing): Change prefix key 's' to 'c'. * lisp/doc-view.el (doc-view-mode-map): Change prefix key 's' to 'c'. * lisp/image-mode.el (image-mode-map): Add image-transform-set-scale to menu. * doc/emacs/files.texi (Image Mode): Describe commands image-transform-fit-both, image-transform-set-scale, image-transform-reset. * etc/NEWS: Rearrange image sections. https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg01315.html
| * Improve wording about constantsPaul Eggert2020-04-223-11/+23
| | | | | | | | | | | | | | | | Thanks to Štěpán Němec and Drew Adams for reviews of recent changes. * doc/lispref/eval.texi (Quoting): Give an example. * doc/lispref/lists.texi (Association Lists): Simplify example code. * doc/lispref/objects.texi (Lisp Data Types) (Constants and Mutability): Clarify wording.
| * Improve the default value of 'doc-view-ghostscript-program'.Tassilo Horn2020-04-221-3/+15
| | | | | | | | | | * lisp/doc-view.el (doc-view-ghostscript-program): On Windows, try gswin64c, gswin32c, rungs, and mgs. (Bug#36357)
| * Minor improvements in documentation of the last changeEli Zaretskii2020-04-212-9/+12
| | | | | | | | | | * etc/NEWS: * doc/emacs/files.texi (Image Mode): Minor copyedits of last change.
| * Add image-auto-resize defcustoms to image-mode.elJuri Linkov2020-04-213-12/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/image-mode.el (image-auto-resize) (image-auto-resize-on-window-resize): New defcustoms. (image-mode-map): Bind "sb" to image-transform-fit-both. (image-mode): Set image-transform-resize to image-auto-resize initially. (image-mode--setup-mode): Add hook on image-auto-resize-on-window-resize. (image-toggle-display-image): Check if image-transform-resize is t. (image-transform-properties): Check image-transform-resize for nil and t. (image-transform-fit-both): New command. (image-transform-reset): Reset image-transform-resize to image-auto-resize. * doc/emacs/files.texi (Image Mode): Mention image-auto-resize and image-auto-resize-on-window-resize. https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg01160.html
| * Improve the documentation of tab-bar and tab-lineJuri Linkov2020-04-218-29/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/frames.texi (Tab Bars): Add xref to "Tab Line". Document more commands. * doc/emacs/windows.texi (Windows): * doc/emacs/emacs.texi (Top): Add "Tab Line" menu. * doc/emacs/windows.texi (Window Convenience): Move tab-line documentation to new node "Tab Line". (Tab Line): New node. * doc/emacs/glossary.texi (Glossary): * doc/emacs/modes.texi (Minor Modes): * doc/emacs/display.texi (Standard Faces): Add xref to "Tab Line".
* | Fix GDI+ image loading by file nameEli Zaretskii2020-04-252-5/+6
| | | | | | | | | | | | | | | | | | | | Without a call to image_find_image, we can get a file name that is relative to data-directory/images/, or a file name that starts with "~/", in which case w32_load_image would fail. * src/image.c (native_image_load): Call image_find_image_file to resolve and encode the image file name. * src/w32image.c (w32_load_image): No need to encode the file name, as it's already encoded by native_image_load.
* | Remove unused variable from ftfont.cIgor Saprykin2020-04-251-5/+2
| | | | | | | | | | | | * src/ftfont.c (ftfont_lookup_cache): Eliminate unnecessary variable. Copyright-paperwork-exempt: yes
* | Fix two fringe bitmapsEli Zaretskii2020-04-251-2/+2
| | | | | | | | | | * src/fringe.c (question_mark_bits, exclamation_mark_bits): Fix the numerical values. (Bug#40805)
* | Use lexical-binding in po.el and add testsSimen Heggestøyl2020-04-252-1/+69
| | | | | | | | | | | | * lisp/textmodes/po.el: Use lexical-binding. * test/lisp/textmodes/po-tests.el: New file with tests for po.el.