summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Use only one function to retrieve/set lossage sizebug#38796-lossage-limitTino Calancha2020-08-271-4/+11
| | | | | | | | | | | | | | | | | | * src/keyboard.c (update-lossage-size): Rename it as lossage-size. Called with no arguments, return the current lossage limit. Called with ARG sets the lossage limit. All callers updated. * doc/emacs/help.texi: Ammend documentation. * etc/NEWS: Amend entry. * lisp/help.el (view-lossage): Fix docstring. * lisp/comint.el (comint-send-invisible) * lisp/term.el (term-read-noecho): Mention the new command in the docstrings. * test/src/keyboard-tests.el: Ammend test.
* Do not expose the size of recent_keys to LispTino Calancha2020-08-271-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | That prevents from unintentional crashes if the users modify the variable with setq or if they let-bind it. Users can still safely modify the lossage limit with the command `update-lossage-size'. For convenience, add a function `lossage-size' to return the current limit. * src/keyboard.c (lossage_limit): Do not expose it to Lisp; make it a static variable. Keep the current Emacs default (300); accept only values >= 100. (lossage-size): New function; it returns the current size of recent_keys. (update-lossage-size): Rename it from update-lossage-limit (all callers updated); make it a command. * doc/emacs/help.texi (Misc Help) * etc/NEWS * lisp/cus-start.el * lisp/edmacro.el * lisp/help.el: Update all references with the new name. * test/src/keyboard-tests.el (keyboard-lossage-limit): Amend the test.
* Revert "Allow disable the record of keystrokes (lossage)"Tino Calancha2020-08-271-1/+1
| | | | This reverts commit a60a05994aff16bc27f153ea8f765e15b92f21be.
* Allow disable the record of keystrokes (lossage)Tino Calancha2020-08-271-1/+1
| | | | | | | | | | | | | | | Use 1 as the minimum value for lossage-limit; such a value is equivalent to not recording the keystrokes: having just 1 entry, will be overwritten with the view-lossage call itself. * test/src/keyboard-tests.el (keyboard-lossage-limit): Update test. * src/keyboard.c (MIN_NUM_RECENT_KEYS): Delete it. (lossage_limit): Add security note in the doctring. * lisp/cus-start.el (lossage-limit): Let users choose to disable the record of the keystrokes. * doc/emacs/help.texi (Misc Help): Update manual. * etc/NEWS (Changes in Emacs 28.1): Mention that it's possible to disable the record of keystrokes.
* Give Lisp control on the lossage sizeTino Calancha2020-08-271-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an user option to control the maximum number of recorded keystrokes (a.k.a lossage limit) (Bug#38796). * src/keyboard.c (lossage-limit): Add new variable. (MIN_NUM_RECENT_KEYS): Renamed from NUM_RECENT_KEYS. Set it as 100 and use it as the minimum value for lossage-limit. Keep the same default for the vector size as before (300). (update-lossage-limit): New function. (update_recent_keys): Helper function. (command_loop_1) (record_char) (recent-keys) (syms_of_keyboard): Replace NUM_RECENT_KEYS with lossage_limit as the vector size. (clear-this-command-keys): Fix docstring. * lisp/help.el (view-lossage): Mention lossage-limit in the docstring. * lisp/cus-start.el (lossage-limit): Register it as an user option. * lisp/edmacro.el (edit-kbd-macro): Update docstring and commentary header. * etc/NEWS (Changes in Emacs 28.1): Announce the new option. * doc/emacs/help.texi (Misc Help): Document it. * test/src/keyboard-tests.el (keyboard-lossage-limit): Add test.
* Adapt tramp-testsMichael Albinus2020-08-271-11/+8
| | | | | * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name) (tramp-test05-expand-file-name-relative): Adapt tests.
* Prevent spurious tabs by RET in todo-edit-mode (bug#43068)Stephen Berman2020-08-272-7/+56
| | | | | | | | | | | | | | | | | | | | * lisp/calendar/todo-mode.el (todo-key-bindings-t) (todo-edit-mode-map): Remove remapping of `newline' to `newline-and-indent'. (todo-modes-set-1): Remove local setting of `indent-line-function'. (todo-edit-mode): Locally set `indent-line-function' to `todo-indent'. * test/lisp/calendar/todo-mode-tests.el (todo-test-move-item05): Prevent interactive test failure. (Until the addition of testcat4 to todo-test-1.todo, the test passed by chance, since testcat3 is empty and has no archived items.) (todo-test-edit-item-date-month): Refer to bug number. (todo-test-multiline-item-indentation-1) (todo-test-multiline-item-indentation-2) (todo-test-multiline-item-indentation-3): New tests. * test/lisp/calendar/todo-mode-resources/todo-test-1.todo: Remove spurious tabs from testcat1.
* ; Fix license statements.Stefan Kangas2020-08-2732-96/+146
|
* Fix expand-file-name symlink-to-dir bugPaul Eggert2020-08-262-7/+15
| | | | | | | | | | | | | | | Problem reported by Yegor Timoshenko (Bug#26911), and I ran into it myself recently in normal-top-level. * doc/lispref/files.texi (File Name Expansion), etc/NEWS: Mention this. * src/fileio.c (Fexpand_file_name): Expand "/a/b/." to "/a/b/" not "/a/b", to avoid misinterpreting a symlink "/a/b". Similarly, expand "/a/b/c/.." to "/a/b/" not "/a/b". * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name): Adjust to match new behavior. (tramp-test05-expand-file-name-relative): This test now succeeds, at least on Fedora 31. * test/src/fileio-tests.el: (fileio-tests--expand-file-name-trailing-slash) New test.
* Fix lexical misunderstandings in gnus-icalendar-tests.el (bug#39782)Mattias Engdegård2020-08-261-14/+6
| | | | | | | | | | | * test/lisp/gnus/gnus-icalendar-tests.el: (icalendar-tests--get-ical-event): Remove unused function accidentally copy-pasted from icalendar-tests.el. (gnus-icalendar-parse, gnus-icalendary-byday): Remove unintended initial newlines. Duplicate comma-escaping backslashes so that they have intended effects, conforming to RFC 5545. Remove ineffective comma-escaping backslashes where not intended.
* Fix gpg2-related test failures on RHEL 7.8Paul Eggert2020-08-251-3/+4
| | | | | | | | | * test/lisp/gnus/mml-sec-tests.el (test-conf) (mml-secure-en-decrypt-passphrase-no-cache-openpgp-todo) (mml-secure-run-tests-with-gpg2): Use epg-find-configuration instead of the obsolescent epg-configuration. This fixes test failures on RHEL 7.8, where ‘gpg’ and ‘gpg2’ are both 2.0.22.
* mml-secure-en-decrypt-sign-1-2-double is unstablePaul Eggert2020-08-251-0/+1
| | | | | * test/lisp/gnus/mml-sec-tests.el: (mml-secure-en-decrypt-sign-1-2-double): Mark this as unstable.
* Merge from origin/emacs-27Michael Albinus2020-08-251-4/+12
|\ | | | | | | | | | | | | | | | | | | 44104a607a Fix error in GMP test e26e63444d Add Feature testing for Windows binaries 4e2caef384 ; * src/character.c (str_as_multibyte): Fix the commentary. d3a4ce8420 Revert "; * etc/NEWS: Remove temporary note on documentati... 16f00e36dc * admin/admin.el (set-version): Trap yet another NEWS error. 121be3e118 ; * etc/NEWS: Remove temporary note on documentation. (Bu... 5fcb97dabd Fix cond jump table compilation (bug#42919)
| * Fix cond jump table compilation (bug#42919)Mattias Engdegård2020-08-191-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug affected compilation of (cond ((member '(some list) variable) ...) ...) While equal is symmetric, member is not; in the latter case the arguments must be a variable and a constant list, in that order. Reported by Ikumi Keita. * lisp/emacs-lisp/bytecomp.el (byte-compile--cond-switch-prefix): Don't treat equality and member predicates in the same way; only the former are symmetric in their arguments. * test/lisp/emacs-lisp/bytecomp-tests.el (byte-opt-testsuite-arith-data): Add test cases.
* | Add sanity check in tramp-sh-get-signal-stringsMichael Albinus2020-08-241-14/+14
| | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-get-signal-strings): Add sanity check. * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Remove instrumentation. (tramp--test--deftest-direct-async-process): Adapt docstring. (tramp--test-windows-nt-p, tramp--test-windows-nt-and-batch-p): Rename from `tramp--test-windows-nt', `tramp--test-windows-nt-and-batch'.
* | Avoid some uses of obsolete function interactive-pStefan Kangas2020-08-242-8/+8
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/help.texi (Accessing Documentation): * lisp/cedet/data-debug.el: * lisp/emacs-lisp/edebug.el (edebug-wrap-def-body): * lisp/simple.el (append-next-kill): * test/manual/cedet/cedet-utests.el (cedet-utest, pulse-test): * test/manual/cedet/semantic-tests.el (semantic-lex-spp-write-utest) (semantic-symref-test-count-hits-in-tag): Use 'called-interactively-p' instead of obsolete function 'interactive-p'.
* | Set basic SVG attributes (bug#40845)Alan Third2020-08-231-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/manual/image-transforms-tests.el: Replace hard-coded colors with defaults. * src/dispextern.h (struct image): * src/image.c (search_image_cache): (xbm_load_image): (xbm_load): (pbm_load): Rename from frame to face where relevant. (svg_load_image): Parse the image to find out the size, then wrap it in another SVG to set a new size and colors, etc. (lookup_image): Use the face colors instead of the frame colors. (search_image_cache): Add ability to ignore the face colors. (uncache_image): Uncache all copies of the image that share the spec, even if the face colors don't match. * etc/NEWS: Describe the changes.
* | Rework direct async processes in TrampMichael Albinus2020-08-231-62/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Remote processes): Precise restrictions for direct async processes. * lisp/net/tramp.el (tramp-methods): Adapt docstring. (tramp-direct-async-process-p): Make it more precise. (tramp-handle-make-process): Rewrite, based on `make-process'. * test/lisp/net/tramp-tests.el (tramp-test-temporary-file-directory): Add `tramp-direct-async-args` for mock method. (tramp-test29-start-file-process, tramp-test30-make-process): Use weaker regexp checking "foo". (tramp-test30-make-process): Do not check stderr for direct async processes. (tramp--test--deftest-direct-async-process): New defmacro. (tramp-test29-start-file-process-direct-async) (tramp-test30-make-process-direct-async): New tests.
* | ; * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Instrument test.Michael Albinus2020-08-231-1/+2
| |
* | Bind the time zone so that the tests work everywhereLars Ingebrigtsen2020-08-221-16/+29
| |
* | ; Copyright fixGlenn Morris2020-08-221-4/+6
| | | | | | | | Author has assignment
* | gnus-icalendar does not understand multiple repeating daysJan Tatarik2020-08-221-0/+229
| | | | | | | | | | | | | | | | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event:recurring-days): New function (bug#39782). (gnus-icalendar-event:org-timestamp): New function. (gnus-icalendar--find-day): Use them. (gnus-icalendar-event--org-timestamp): Ditto.
* | Bind mwheel-scroll on more parts of frame's displayStefan Kangas2020-08-221-0/+38
| | | | | | | | | | | | | | | | * lisp/mwheel.el (mouse-wheel-mode): Bind unmodified 'mwheel-scroll' on scroll bars, fringes, margins, header and mode line. (Bug#5557) (mouse-wheel--create-scroll-keys): New helper function for 'mouse-wheel-mode'. * test/lisp/mwheel-tests.el: New file.
* | Fix several todo-mode.el editing bugs (bug#42976)Stephen Berman2020-08-212-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calendar/todo-mode.el (todo-insert-item--basic): Ensure the target todo file is in todo-mode. (todo-edit-item--text): When editing a done item comment, prevent clobbering match data on finishing the edit. (todo-edit-item--header): Ensure that decrementing the month of the date header works for intervals greater than a year, and when incrementing or decrementing the month crosses one or more years, adjust the year as needed. (todo-read-category): If we're outside of todo-mode and there is a current todo file, use it; otherwise, use the default todo file. * test/lisp/calendar/todo-mode-tests.el (todo-test-edit-item-date-month): New test. * test/lisp/calendar/todo-mode-resources/todo-test-1.todo: Modify to accommodate new test.
* | Fix return value for CCL opcode lookup-integerPip Cet2020-08-211-0/+14
| | | | | | | | | | | | | | * src/ccl.c (ccl_driver): Fix LookupIntConstTbl return value. * test/lisp/international/ccl-tests.el (ccl-hash-table): Add test. * lisp/international/ccl.el (ccl-embed-data): Don't pass non-numbers to `ccl-fixnum' (bug#36740).
* | Fix off-by-one error in decoded-time-add (with months)Lars Ingebrigtsen2020-08-211-0/+20
| | | | | | | | | | * lisp/calendar/time-date.el (decoded-time-add): Fix month addition, which was off-by-one.
* | ; Minor simplification of two recent changesBasil L. Contovounesios2020-08-191-2/+1
| |
* | Ensure `bibtex-set-dialect' is executed in bibtex buffersGrégoire Jadi2020-08-191-0/+57
| | | | | | | | | | * lisp/textmodes/bibtex.el (bibtex-mode): Call `bibtex-set-dialect'. * test/automated/bibtex-tests.el: Add regression tests (bug#21764).
* | Distinguish errors in bytecomp-testsMattias Engdegård2020-08-191-21/+21
| | | | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-check-1) (test-byte-opt-arithmetic, bytecomp-lexbind-check-1) (bytecomp-lexbind-explain-1): When comparing interpreted with compiled results, don't consider all errors to be equal; take the error type into account. (The error arguments may differ, but there may be good reasons for that.)
* | Make bytecomp-tests re-runnableMattias Engdegård2020-08-191-0/+2
| | | | | | | | | | | | * test/lisp/emacs-lisp/bytecomp-tests.el (test-byte-comp-macro-expand-lexical-override): Remove functions before testing so that the test can be run twice without failing.
* | srecode-utest-project test should now work on Hydra, hopefullyLars Ingebrigtsen2020-08-181-1/+0
| |
* | Fix a big in the srecore test setupLars Ingebrigtsen2020-08-181-0/+4
| | | | | | | | | | | | | | | | * test/lisp/cedet/srecode-utest-template.el (srecode-utest-project): Set the current directory in the project so that we'll find it later (bug#42533). The in-project directory is /tmp, which is not actually what it is on many machines that have the temporary directory somewhere else.
* | Fix minor bugs in image.cPip Cet2020-08-181-0/+144
| | | | | | | | | | | | | | | | | | | | * test/src/image-tests.el (image-test-circular-specs): New file. * src/image.c (parse_image_spec): Return failure for circular lists. (valid_image_p): Don't look at odd-numbered list elements expecting to find a property name. (image_spec_value): Handle circular lists. (equal_lists): Introduce. (search_image_cache): Use `equal_lists' (bug#36403).
* | Fix recently-introduced Fdelete bugPaul Eggert2020-08-151-0/+1
| | | | | | | | | | | | | | | | | | Problem reported by Pip Cet in: https://lists.gnu.org/r/emacs-devel/2020-08/msg00444.html * src/fns.c (Fdelete): Fix correctness bug via a simpler (though more memory-intensive) approach. It’s probably not worth optimizing the memory usage yere. * test/src/fns-tests.el (test-vector-delete): Add test for the bug.
* | Minimize ‘equal’ calls in (delete x vector)Paul Eggert2020-08-151-0/+5
| | | | | | | | | | | | | | | | | | * src/fns.c (Fdelete): When deleting from a vector, call Fequal only once per vector element. This is faster when Fequal is slow, and avoids the need to preinitialize the vector result. Finish when the result is exhausted, not when the input is exhausted; the two are equivalent but the former may be faster. * test/src/fns-tests.el (test-vector-delete): New test.
* | Fix thinko in setting url-portspecSteven Allen2020-08-151-0/+7
| | | | | | | | | | * lisp/url/url-expand.el (url-default-expander): Set `url-portspec' (bug#42869).
* | Add support for ffap guessing at file names containing spacesJari Aalto2020-08-151-0/+40
| | | | | | | | | | | | | | | | * lisp/ffap.el (ffap-file-name-with-spaces): New variable (bug#8439). (ffap-search-backward-file-end, ffap-search-forward-file-end) (ffap-dir-separator-near-point): New functions. (ffap-string-at-point): Use the variable and the new functions to guess at files containing strings.
* | * lisp/progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): Bug#42168Stefan Monnier2020-08-141-12/+13
| | | | | | | | | | | | | | * test/lisp/progmodes/cperl-mode-tests.el: Adjust for `perl-mode`. (cperl-test-ppss): Rename from `cperl-test-face` and change return value. (cperl-mode-test-bug-42168): Test the `syntax-ppss` state rather than the font-lock faces, so it works for both `perl-mode` and `cperl-mode`.
* | Fix flow filling for flowing multiple flowed linesFerdinand Pieper2020-08-141-1/+2
| | | | | | | | | | | | | | | | * lisp/mail/flow-fill.el (fill-flowed): Loop until all flowed lines are collected. * test/lisp/mail/flow-fill-tests.el (fill-flow-tests-fill-flowed-decode): Also test for multiple flowed lines (bug#42855).
* | Remove many items obsolete since Emacs 23.1Stefan Kangas2020-08-141-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Emacs 23.1 was five major releases and over a decade ago. This list can be reviewed before to the next release, but for now hopefully this motivates any needed external updates. Ref: https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg02198.html * lisp/abbrev.el (pre-abbrev-expand-hook): * lisp/bookmark.el (bookmark-read-annotation-text-func) (bookmark-jump-noselect): * lisp/buff-menu.el (buffer-menu-mode-hook): * lisp/cus-edit.el (custom-mode-hook, custom-mode): * lisp/dirtrack.el (dirtrack-debug-toggle, dirtrack-debug): * lisp/emacs-lisp/crm.el (crm-minibuffer-complete) (crm-minibuffer-completion-help) (crm-minibuffer-complete-and-exit): * lisp/emacs-lisp/easymenu.el (easy-menu-precalculate-equivalent-keybindings): * lisp/emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): * lisp/epa.el (epa-display-verify-result): * lisp/epg.el (epg-passphrase-callback-function): * lisp/eshell/eshell.el (eshell-report-bug): * lisp/ffap.el (ffap-bug, ffap-submit-bug): * lisp/files.el (locate-file-completion): * lisp/hi-lock.el (hi-lock-face-history, hi-lock-regexp-history): * lisp/hilit-chg.el (highlight-changes-initial-state) (highlight-changes-active-string) (highlight-changes-passive-string, global-highlight-changes): * lisp/international/mule-cmds.el (nonascii-insert-offset) (nonascii-translation-table): * lisp/international/mule-diag.el (non-iso-charset-alist): * lisp/international/mule-util.el (detect-coding-with-priority): * lisp/international/mule.el (charset-id, charset-bytes) (charset-list, char-valid-p, generic-char-p) (char-coding-system-table, make-coding-system) (set-coding-priority) * lisp/mail/rmail.el (rmail-message-filter): * lisp/minibuffer.el (complete-in-turn, dynamic-completion-table) (completion-common-substring) (minibuffer-local-must-match-filename-map): * lisp/mouse.el (mouse-major-mode-menu, mouse-popup-menubar) (mouse-popup-menubar-stuff): * lisp/net/newst-treeview.el (newsticker-groups-filename): * lisp/obsolete/tpu-edt.el (tpu-have-ispell, GOLD-map): * lisp/password-cache.el (password-read-and-add): * lisp/shell.el (shell-dirtrack-toggle): * lisp/subr.el (forward-point, redisplay-end-trigger-functions) (process-filter-multibyte-p, set-process-filter-multibyte): * lisp/t-mouse.el (t-mouse-mode): * lisp/term/w32-win.el (w32-focus-frame, w32-select-font): * lisp/textmodes/ispell.el (ispell-aspell-supports-utf8): * lisp/textmodes/remember.el (remember-buffer): * lisp/tooltip.el (tooltip-hook): * lisp/url/url-util.el (url-generate-unique-filename): * lisp/url/url-vars.el (url-temporary-directory): * lisp/vc/vc-hooks.el (vc-workfile-version) (vc-default-working-revision): * lisp/vc/vc-mtn.el (vc-mtn-command): * lisp/vc/vc.el (vc-revert-buffer): * lisp/vcursor.el (vcursor-toggle-vcursor-map): Remove items, obsolete since Emacs 23.1. * lisp/abbrev.el (expand-abbrev): * lisp/epg.el (epg-context): Change 'epg-passphrase-callback-function' call to 'epa-' alternative. * lisp/eshell/em-rebind.el (eshell-cannot-leave-input-list): Don't refer to removed function 'forward-point'. * test/manual/etags/c-src/abbrev.c (Fexpand_abbrev): (syms_of_abbrev): Don't run removed hook 'pre-abbrev-expand-hook'. * lisp/international/mule.el (transform-make-coding-system-args): Declare obsolete. * lisp/progmodes/idlwave.el: Update reference to removed function 'char-valid-p'. * lisp/gnus/mml2015.el (epg-encrypt-string): * lisp/gnus/mml1991.el (epg-make-context): * lisp/gnus/mml-smime.el (autoload): Remove autoload of removed 'epg-passphrase-callback-function'. * lisp/minibuffer.el (completion-extra-properties): Remove support for `completion-common-substring'. * lisp/obsolete/tpu-edt.el (tpu-toggle-overwrite-mode) Remove support for removed `spell' package. * src/coding.c (syms_of_coding): * doc/misc/efaq.texi: * doc/emacs/frames.texi (Menu Mouse Clicks): * doc/misc/url.texi (Customization): Doc fixes. ; * etc/NEWS: List removed items.
* | Add test for Bug#41761Stefan Kangas2020-08-141-0/+7
| | | | | | | | | | * test/lisp/simple-tests.el (simple-test-count-words-bug-41761): New test.
* | cperl-mode: Highlight '{$a++ / $b}' correctlyHarald Jörg2020-08-141-0/+50
| | | | | | | | | | | | | | * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres): Recognize {$a++ / $b} correctly as division. (Bug#42168) * test/lisp/progmodes/cperl-mode-tests.el: New file with test verifying the fix.
* | Add tests for cl-{incf,decf}Stefan Kangas2020-08-131-0/+16
| | | | | | | | | | * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-test-incf) (cl-lib-test-decf): New tests.
* | Update a paragraphs testGlenn Morris2020-08-131-2/+2
| | | | | | | | | | * test/lisp/textmodes/paragraphs-tests.el (paragraphs-tests-mark-paragraph): Update for recent change.
* | Update a compile testGlenn Morris2020-08-131-2/+2
| | | | | | | | | | * test/lisp/progmodes/compile-tests.el (compile-test-error-regexps): Update info/warning count for recent compile.el change.
* | * test/src/emacs-module-tests.el: Use proper outline headings.Jonas Bernoulli2020-08-131-15/+6
| | | | | | | | | | | | This library already used section headings but it used just two instead of three semicolons, making them indistinguishable from plain comments.
* | mml-secure-en-decrypt-sign-2 is unstablePaul Eggert2020-08-121-0/+1
| | | | | | | | | | * test/lisp/gnus/mml-sec-tests.el (mml-secure-en-decrypt-sign-2): Mark as unstable (Bug#42720).
* | Do not truncate /foo//bar to /bar/ in parse-colon-pathTino Calancha2020-08-121-1/+4
| | | | | | | | | | * lisp/files.el (parse-colon-path): Use substitute-env-vars and expand-file-name instead of substitute-in-file-name (Bug#21454).
* | Fix (end-of-defun N) for N >= 2Noam Postavsky2020-08-111-0/+55
| | | | | | | | | | | | | | * lisp/emacs-lisp/lisp.el (end-of-defun): Only skip to next line when after end of defun when ARG is 1 or less. * test/lisp/emacs-lisp/lisp-tests.el (end-of-defun-twice): New test (bug#24427).
* | Only search for a variable when instructedAlexander Gramiak2020-08-111-0/+11
| | | | | | | | | | | | * lisp/help-fns.el (find-lisp-object-file-name): Check for 'defvar argument before searching for an internal variable (Bug#24697). * test/lisp/help-fns-tests.el: New tests.