summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add new command to expand all "..."s in a backtrace framescratch/backtrace-modeGemini Lasswell2018-07-155-72/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also move the code that tries to fit a printed representation into a limited number of characters using appropriate values of print-level and print-length into a new function in cl-print.el for future use by other parts of Emacs. * doc/lispref/debugging.texi (Backtraces): Document new keybinding. * lisp/emacs-lisp/backtrace.el (backtrace-line-length): Add the option of unlimited line length. (backtrace--match-ellipsis-in-string): Add a comment to explain why this function is necessary. (backtrace-mode-map): Add keybinding for 'backtrace-expand-ellipses'. (backtrace-expand-ellipsis): Use 'cl-print-to-string-with-limit'. (backtrace-expand-ellipses): New function. (backtrace-pretty-print): Update TODO comment with bug number. (backtrace-print-to-string): Use 'cl-print-to-string-with-limit'. Tag the printed forms with a gensym instead of the values of print-length and print-level. (backtrace--print): Add 'stream' argument. (backtrace-mode): Remove a TODO comment. * test/lisp/emacs-lisp/backtrace-tests.el (backtrace-tests--expand-ellipsis): Make the test less dependent on the implementation. (backtrace-tests--expand-ellipses): New test. * lisp/emacs-lisp/cl-print.el (cl-print-to-string-with-limit): New function. * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-print-to-string-with-limit): New test.
* Change keybinding for backtrace-collapse from '=' to '-'Gemini Lasswell2018-07-142-2/+2
| | | | | | | | '+' and '-' make a more intuitive pair of keybindings for backtrace-pretty-print and backtrace-collapse than '+' and '='. * lisp/emacs-lisp/backtrace.el (backtrace-mode-map): * doc/lispref/debugging.texi (Backtraces): Change keybinding for backtrace-collapse.
* Add more tests for backtrace-modeGemini Lasswell2018-07-141-47/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the method of generating sample backtraces to work whether or not the tests are byte-compiled. * test/lisp/emacs-lisp/backtrace-tests.el: (backtrace-tests--func1) (backtrace-tests--func2, backtrace-tests--func3) (backtrace-tests--create-backtrace-frames): Deleted. (backtrace-tests--uncompiled-functions): New constant. (backtrace-tests--make-backtrace, backtrace-tests--setup-buffer): New functions. (backtrace-tests--backtrace-lines) (backtrace-tests--backtrace-lines-with-locals): New functions. (backtrace-tests--line-count): New constant. (backtrace-tests--result, backtrace-tests--result-with-locals): New functions. (backtrace-tests--header): New constant. (backtrace-tests--insert-header): Use backtrace-tests--header. (backtrace-tests--with-buffer): Deleted. (backtrace-tests--variables, backtrace-tests--backward-frame) (backtrace-tests--forward-frame) (backtrace-tests--pretty-print-and-collapse) (backtrace-tests--verify-pp-and-collapse) (backtrace-tests--print-circle, backtrace-tests--make-regexp) (backtrace-tests--expand-ellipsis): New tests. (backtrace-tests--to-string): Use backtrace-tests--make-backtrace. (backtrace-tests--get-substring): New function.
* Add link in backtraces to position in buffer being evaluated (bug#14081)Gemini Lasswell2018-07-141-3/+24
| | | | | | | | | * lisp/emacs-lisp/backtrace.el (backtrace-frame): Add buffer field. (backtrace-get-frames): Set buffer field of frame. (backtrace-buffer-pos): New button type. (backtrace--pop-to-buffer-pos): New function. (backtrace--print-func-and-args): Create a button for the buffer position if it is set.
* Add links in backtraces to functions written in C (bug#25393)Gemini Lasswell2018-07-141-2/+7
| | | | | * lisp/emacs-lisp/backtrace.el (backtrace--print-func-and-args): Look up file names for built-in functions with evaluated arguments.
* Add prefix argument to backtrace-toggle-print-circleGemini Lasswell2018-07-141-34/+57
| | | | | | | | | | With prefix argument, toggle print-circle for the whole buffer. * lisp/emacs-lisp/backtrace.el (backtrace-toggle-print-circle): Add interactive argument. (backtrace--toggle-feature): Add new argument ALL to toggle all frames. (backtrace--set-feature): New function. (backtrace-mode): Use indent functions from Lisp modes.
* Lazily print backtrace frame local variablesGemini Lasswell2018-07-141-43/+84
| | | | | | | | | | | | | | | | | | | | | Instead of printing the local variables for all frames when the backtrace buffer is created, print them when they are first made visible. Add a prefix argument to backtrace-toggle-locals to toggle locals display for the entire buffer. * lisp/emacs-lisp/backtrace.el (backtrace-view): Mention :show-locals in docstring. (backtrace-get-frame-end): Handle the possibility that the locals section might not exist. (backtrace-toggle-locals): Add prefix argument to toggle visibility of locals for the whole buffer. (backtrace--with-output-variables): Move before first use. (backtrace--set-frame-locals-visible): New function. (backtrace--set-locals-visible-overlay): New function. (backtrace--set-locals-visible): Deleted. (backtrace-toggle-print-circle): Remove TODO comment. (backtrace--print-locals): Skip printing the locals if they are not visible.
* Initialize backtrace display options in backtrace-modeGemini Lasswell2018-07-144-9/+9
| | | | | | | | | | | | * lisp/emacs-lisp/backtrace.el (backtrace-mode): Initialize backtrace-view. * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Modify backtrace-view instead of setting it. * lisp/emacs-lisp/edebug.el (edebug-backtrace): Remove initialization of backtrace-view. * lisp/emacs-lisp/ert.el (ert-results-pop-to-backtrace-for-test-at-point): Remove initialization of backtrace-view.
* Add backtrace-mode and use it in the debugger, ERT and EdebugGemini Lasswell2018-07-1411-352/+1293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Add news entries for backtrace-mode, the Lisp Debugger, Edebug and ERT. Move the heading for Gamegrid which had become separated from its text. * doc/lispref/debugging.text (Using Debugger): Remove explanation of backtrace buffer. Refer to new node. (Backtraces): New node. (Debugger Commands): Refer to new node. Remove 'v'. * doc/lispref/edebug.texi (Edebug Misc): Refer to new node. * doc/misc/ert.texi (Running Tests Interactively): Refer to new node. * lisp/emacs-lisp-backtrace.el: New file. * test/lisp/emacs-lisp/backtrace-tests.el: New file. * lisp/emacs-lisp/debug.el: (debugger-buffer-state): New cl-defstruct. (debugger--restore-buffer-state): New function. (debug): Use a debugger-buffer-state object to save and restore buffer state. Fix bug#15749 by leaving an unused buffer in debugger-mode, empty, instead of in fundamental-mode, and then when reusing a buffer, not calling debugger-mode if the buffer is already in debugger-mode. (debugger-insert-backtrace): Remove. (debugger-setup-buffer): Use backtrace-mode. (debugger--insert-header): New function. (debugger-continue, debugger-return-value): Change check for flags to use backtrace-frames. (debugger-frame-number): Determine backtrace frame number from backtrace-frames. (debugger--locals-visible-p, debugger--insert-locals) (debugger--show-locals, debugger--hide-locals) (debugger-toggle-locals): Remove. (debugger-mode-map): Make a child of backtrace-mode-map. Move navigation commands to backtrace-mode-map. Bind 'q' to debugger-quit instead of top-level. Make Help Follow menu item call backtrace-help-follow-symbol. (debugger-mode): Derive from backtrace-mode. (debug-help-follow): Move to backtrace.el with new name backtrace-help-follow-symbol. (debugger-quit): New function. * lisp/emacs-lisp/edebug.el (edebug-unwrap-results): Remove warning in docstring about circular results. (edebug-unwrap): Use pcase. (edebug-unwrap1): New function to unwrap circular objects. (edebug-unwrap*): Use it. (edebug--frame): New cl-defstruct. (edebug-backtrace): Call the buffer *Edebug Backtrace* and use backtrace-mode. Get the frames from edebug--backtrace-frames. (edebug--backtrace-frames, edebug--unwrap-and-add-info) (edebug--symbol-not-prefixed-p): New functions. * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-for-backtraces) (lisp-el-font-lock-keywords-for-backtraces-1) (lisp-el-font-lock-keywords-for-backtraces-2): New constants. * lisp/emacs-lisp/ert.el (ert--print-backtrace): Remove. (ert--run-test-debugger): Use backtrace-get-frames. (ert-run-tests-batch): Use backtrace-to-string. (ert-results-pop-to-backtrace-for-test-at-point): Use backtrace-mode. (ert--insert-backtrace-header): New function. * tests/lisp/emacs-lisp/ert-tests.el (ert-test--which-file): Use backtrace-frame slot accessor.
* Add methods for strings to cl-printGemini Lasswell2018-07-142-3/+152
| | | | | | | | | | | | * lisp/emacs-lisp/cl-print.el (cl-print-object) <string>: New method. (cl-print-object-contents) <string>: New method. (cl-print--find-sharing): Look in string property lists. * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-3): Test printing of long strings. (cl-print-tests-4): Test printing of strings nested in other objects. (cl-print-tests-strings, cl-print-tests-ellipsis-string): New tests.
* Support ellipsis expansion in cl-printGemini Lasswell2018-07-142-24/+220
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-print.el (cl-print-object-contents): New generic method. (cl-print-object-contents) <cons, vector,cl-structure-object>: New methods. (cl-print-object) <cons>: Use cl-print-insert-ellipsis. (cl-print-object) <vector, cl-structure-object>: Elide whole object if print-level exceeded. Use cl-print-insert-ellipsis. (cl-print-insert-ellipsis, cl-print-propertize-ellipsis) (cl-print-expand-ellipsis): New functions. * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-4): Test printing of objects nested in other objects. (cl-print-tests-strings, cl-print-tests-ellipsis-cons) (cl-print-tests-ellipsis-vector, cl-print-tests-ellipsis-struct) (cl-print-tests-ellipsis-circular): New tests. (cl-print-tests-check-ellipsis-expansion) (cl-print-tests-check-ellipsis-expansion-rx): New functions.
* Add to documentation of 'jump-to-register'Charles A. Roelli2018-07-142-1/+4
| | | | | | * lisp/register.el (jump-to-register): * doc/emacs/regs.texi (Position Registers): Document that jumping to a register can push the mark.
* ; Trace epg-tests gpg config finding (Bug#23561)Noam Postavsky2018-07-142-1/+15
|
* Avoid infloop in redisplay due to faulty mode-line propertiesJonathan Kyle Mitchell2018-07-141-2/+22
| | | | | | | * xdisp.c (safe_set_text_properties): New function. (display_mode_element): Call Fset_text_properties through internal_condition_case_n, using safe_set_text_properties as a wrapper. (Bug#32038)
* * lisp/vc/diff-mode.el (diff-font-lock-prettify): New varStefan Monnier2018-07-132-0/+42
| | | | | (diff--font-lock-prettify): New function. (diff-font-lock-keywords): Use it.
* Merge from origin/emacs-26Glenn Morris2018-07-1313-78/+162
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 17ebb6e (origin/emacs-26) Use consistent function names in thread-tes... 1c86229 Fix format error in Faccept_process_output b38b91a Lessen stack consumption in recursive read1 3eb4603 Match w32 paths in grep sans --null hits (Bug#32051) 5cc7c4b Fix previous make-network-process change d6a1b69 Another documentation improvement in flyspell.el 9b49a8e Improve documentation of Flyspell 3744fda Provide feature 'threads ef9025f Save the server alias on reconnect (Bug#29657) db3874b Refer to "proper lists" instead of "true lists" 35e0305 Avoid turning on the global-minor-mode recursively 51bf4e4 Fix Bug#32085
| * Use consistent function names in thread-tests.elMichael Albinus2018-07-131-8/+9
| | | | | | | | | | | | * test/src/thread-tests.el (threads-call-error, threads-custom) (threads-errors, threads-sticky-point, threads-signal-early): Rename, using naming convention to prefix with "threads-".
| * Fix format error in Faccept_process_outputMichael Albinus2018-07-131-6/+5
| | | | | | | | | | * src/process.c (Faccept_process_output): Do not use format spec "%p", it isn't valid for error().
| * Lessen stack consumption in recursive read1Paul Eggert2018-07-121-1/+1
| | | | | | | | | | * src/lread.c (read1): Shrink local buffer size from MAX_ALLOCA to 128 (Bug#31995).
| * Match w32 paths in grep sans --null hits (Bug#32051)Noam Postavsky2018-07-122-2/+48
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/grep.el (grep-regexp-alist): Add an optional part to match paths starting with C: (other drive letters). * test/lisp/progmodes/compile-tests.el (compile-tests--grep-regexp-testcases) (compile-tests--grep-regexp-tricky-testcases) (compile-test-grep-regexps): New tests. (compile--test-error-line): Return `compilation-message'.
| * Fix previous make-network-process changeNoam Postavsky2018-07-121-1/+1
| | | | | | | | | | | | | | | | * src/process.c (Fmake_network_process): On 2018-07-09 "Explicitly reject :server and :nowait (Bug#31903)", the sense of the SERVER check was accidentally reversed so that we ended up looking for the wrong ADDRESS. Reported by T.V Raman in <https://lists.gnu.org/archive/html/emacs-devel/2018-07/msg00437.html>.
| * Another documentation improvement in flyspell.elEli Zaretskii2018-07-121-1/+2
| | | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-persistent-highlight): Doc fix.
| * Improve documentation of FlyspellEli Zaretskii2018-07-122-7/+11
| | | | | | | | | | | | | | | | For the background, see http://lists.gnu.org/archive/html/help-gnu-emacs/2018-07/msg00099.html. * doc/emacs/fixit.texi (Spelling): Add a couple of caveats. * lisp/textmodes/flyspell.el: Update commentary.
| * Provide feature 'threadsMichael Albinus2018-07-122-28/+50
| | | | | | | | | | | | | | * src/thread.c (syms_of_threads): Provide feature "threads". * test/src/thread-tests.el (top): Declare the functions. (all): Use (featurep 'threads) check.
| * Save the server alias on reconnect (Bug#29657)Miciah Masters2018-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rcirc does not retain the server alias on reconnect. As a result, rcirc fails to re-use server and channel buffers when an alias is used. Further problems may ensue when aliases are used to differentiate multiple connections to the same host, for example when using a single IRC bouncer or proxy to connect to multiple IRC networks. Save the server alias when connecting to a server so that reconnect will retain the alias. * lisp/net/rcirc.el (rcirc-connect): Include server-alias when setting rcirc-connection-info. Copyright-paperwork-exempt: yes
| * Refer to "proper lists" instead of "true lists"Basil L. Contovounesios2018-07-102-11/+14
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/lists.texi (Cons Cells, Building Lists): * doc/lispref/sequences.texi (Vector Functions): Use the more popular term "proper", rather than "true", to qualify nil-terminated lists. For discussion, see the following emacs-devel subthreads: https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00112.html https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00138.html
| * Avoid turning on the global-minor-mode recursivelyJohn Shahid2018-07-101-12/+16
| | | | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Clear the buffer-list inside MODE-enable-in-buffers to avoid enabling the mode recursively. (Bug#31793)
| * Fix Bug#32085Michael Albinus2018-07-101-0/+4
| | | | | | | | | | * doc/misc/tramp.texi (GVFS based methods): `dav' and `davs' do not support paths in the volume name. (Bug#32085)
* | Tweak subr-x.el substring functionsBasil L. Contovounesios2018-07-132-6/+53
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-join): #'-quote function symbol. (string-trim-left, string-trim-right): Make better use of substring for minor speedup. * test/lisp/emacs-lisp/subr-x-tests.el (subr-x-test-string-trim-left, subr-x-test-string-trim-right) (subr-x-test-string-remove-prefix) (subr-x-test-string-remove-suffix): New tests.
* | Minor cus-theme.el simplificationsBasil L. Contovounesios2018-07-131-17/+14
| | | | | | | | | | | | | | * lisp/cus-theme.el (custom-new-theme-mode, customize-themes) (custom-theme-choose-mode): Use setq-local. (customize-create-theme): Ditto. Use delete-all-overlays. (describe-theme-1, custom-theme-summary): Simplify logic.
* | Minor custom.el simplificationsBasil L. Contovounesios2018-07-131-57/+46
| | | | | | | | | | | | | | * lisp/custom.el (custom-quote): Duplicate macroexp-quote. (custom-load-symbol, customize-mark-to-save, customize-mark-as-set) (custom-theme-name-valid-p, enable-theme, custom-enabled-themes) (disable-theme): Simplify logic.
* | * lisp/cus-theme.el: Use lexical-bindingBasil L. Contovounesios2018-07-131-17/+17
| |
* | * lisp/custom.el: Use lexical-bindingBasil L. Contovounesios2018-07-131-25/+25
| | | | | | | | | | | | Remove duplicate 'Custom Themes' comment heading. (deftheme, custom-declare-theme): Fix advertised calling convention. (custom-enabled-themes): Fix message grammar.
* | Fix custom-available-themes file expansionBasil L. Contovounesios2018-07-132-10/+103
| | | | | | | | | | | | | | | | | | | | For discussion, see thread starting at https://lists.gnu.org/archive/html/emacs-devel/2018-05/msg00222.html. * lisp/custom.el: (custom-available-themes): Use directory-files instead of performing arbitrary wildcard expansion in file names. (custom-theme--load-path): Document return value. * test/lisp/custom-tests.el: New file. (custom-theme--load-path): New test.
* | Disable no-byte-compile in built-in themesBasil L. Contovounesios2018-07-1314-54/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/themes/adwaita-theme.el: * etc/themes/deeper-blue-theme.el: * etc/themes/dichromacy-theme.el: * etc/themes/leuven-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: Disable no-byte-compile. https://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00614.html https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00060.html
* | Improve loading of byte-compiled custom themesBasil L. Contovounesios2018-07-131-37/+41
| | | | | | | | | | | | | | | | * lisp/custom.el (load-theme): Load byte-compiled file of safe themes when available. https://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00614.html https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00060.html
* | Speed up smerge-refine-regions by avoiding fsyncNoam Postavsky2018-07-121-3/+4
| | | | | | | | | | | | * lisp/vc/smerge-mode.el (smerge-refine-regions): Bind write-region-inhibit-fsync to t. This was reported in https://github.com/magit/magit/pull/2834 to give a noticable speedup.
* | Don't skip epg-tests even with gpg 2.0 (Bug#23561)Noam Postavsky2018-07-121-1/+12
| | | | | | | | | | | | | | * test/lisp/epg-tests.el (epg-tests--config-program-alist): New constant, which allows gpg2 version 2.0+. (epg-tests-find-usable-gpg-configuration): Pass it to epg-find-configuration.
* | Fix the bootstrap differently, so zerop can be where it belongsStefan Monnier2018-07-122-13/+13
| | | | | | | | | | | | | | Suggested by Robert Pluim <rpluim@gmail.com>. * lisp/emacs-lisp/byte-run.el (defun-declarations-alist): Avoid cadr/cddr. * lisp/subr.el (zerop): Un-revert 2018-07-10T23:08:58-07:00!contovob@tcd.ie.
* | ; Add commentary on location of zeropBasil L. Contovounesios2018-07-111-0/+3
| | | | | | | | | | | | * lisp/subr.el (zerop): Add commentary explaining why moving the function's location within the file broke bootstrap in 2018-07-10T23:08:58-07:00!contovob@tcd.ie.
* | Unbreak bootstrapGlenn Morris2018-07-111-7/+7
| | | | | | | | | | * lisp/subr.el (zerop): Revert previous change, which caused bootstrap to fail with void function cadr.
* | ; Rearrange definition of zerop in subr.elBasil L. Contovounesios2018-07-101-7/+7
| | | | | | | | | | * lisp/subr.el (zerop): Move from under 'List functions' heading to under 'Basic Lisp functions' heading.
* | * lisp/vc/diff-mode.el: Perform hunk refinement from font-lockStefan Monnier2018-07-101-91/+115
| | | | | | | | | | | | | | | | | | | | Remove redundant :group arguments. (diff-font-lock-refine): New var. (diff--refine-hunk): New function, extracted from diff-refine-hunk. (diff-refine-hunk): Use it. (diff--font-lock-refine--refresh): New function. (diff--font-lock-refined): New function. (diff-font-lock-keywords): Use it.
* | Fix Bug#32107Filipp Gunbin2018-07-111-2/+3
| | | | | | | | | | * lisp/progmodes/sql.el (sql-buffer-live-p): Fix handling of optional connection argument. (Bug#32107)
* | Fix infinite recursion in eshell/clear (Bug#31326)Jonathan Kyle Mitchell2018-07-101-2/+1
| | | | | | | | | | | | * lisp/eshell/esh-mode.el (eshell/clear): Bind eshell-input-filter-functions to nil to prevent entries like eshell-smart-display-setup from causing infinite recursion.
* | * lisp/indent.el (indent-line-to): Fix dedenting of tabs.Noam Postavsky2018-07-101-3/+5
| |
* | * lisp/format.el (format-annotate-single-property-change): Simplify.Paul Eggert2018-07-091-3/+1
| |
* | Add predicate proper-list-pBasil L. Contovounesios2018-07-0910-78/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For discussion, see emacs-devel thread starting at https://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00460.html. * lisp/subr.el (proper-list-p): New function. Implementation suggested by Paul Eggert <eggert@cs.ucla.edu> in https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00138.html. * doc/lispref/lists.texi (List Elements): * etc/NEWS: Document proper-list-p. * lisp/org/ob-core.el (org-babel-insert-result): * lisp/emacs-lisp/byte-opt.el (byte-optimize-if): * lisp/emacs-lisp/cl-macs.el (cl--make-usage-args): Use proper-list-p. * lisp/emacs-lisp/ert.el (ert--proper-list-p): Remove. Replaced by proper-list-p in lisp/subr.el. (ert--explain-equal-rec): Use proper-list-length. * lisp/format.el (format-proper-list-p): Remove. Replaced by proper-list-p in lisp/subr.el. (format-annotate-single-property-change): Use proper-list-p. * test/lisp/emacs-lisp/ert-tests.el (ert-test-proper-list-p): Move from here... * test/lisp/subr-tests.el (subr-tests--proper-list-length): ...to here, mutatis mutandis.
* | Respect field boundaries in indent-line-to (Bug#32014)Noam Postavsky2018-07-092-3/+3
| | | | | | | | | | | | | | | | * lisp/indent.el (indent-line-to): Use the back-to-indentation point as the end-point of whitespace removal, rather than backward-to-indentation which doesn't respect field boundaries. * test/lisp/emacs-lisp/lisp-mode-tests.el (lisp-indent-with-read-only-field): Don't expect to fail.
* | ; Merge from emacs-26Noam Postavsky2018-07-090-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 8f7d35cabd Stop using indent-line-to in lisp-indent-line (Bug#32014)