mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Merge from origin/emacs-26
bd52f37(origin/emacs-26) ; Fix last change: only MinGW runtime 5.0.2...024d20fFix compilation with mingw.org's MinGW 5.x headers38b6748Update the list of special forms in the ELisp manual8579105Don't fail to indent-sexp before a full sexp (Bug#31984)d24c5f2Fix calls to modifications hooks in replace-buffer-contents71a9151* src/character.c (char_width): Support glyphs with faces. (...0feb673Display raw bytes as belonging to 'eight-bit' charset2e2f00f; * doc/emacs/mule.texi (International Chars): Fix last change.00561b5Fix inaccurate text in the user manual5cfb7a3Copyedits in tramp.texi, improved example with bash's readline6f8f358Minor Tramp doc update2585fcbFile Shadowing is not available on MS Windows39da592; Minor markup change in indent.texi2f00ffe; bookmark-jump: Add comment about last change.
This commit is contained in:
commit
4713f5d742
18 changed files with 154 additions and 80 deletions
|
|
@ -125,6 +125,17 @@ noindent\" 3
|
|||
#s(foo
|
||||
bar)\n"))))
|
||||
|
||||
(ert-deftest indent-sexp-cant-go ()
|
||||
"`indent-sexp' shouldn't error before a sexp."
|
||||
;; See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31984#32.
|
||||
(with-temp-buffer
|
||||
(emacs-lisp-mode)
|
||||
(insert "(())")
|
||||
(goto-char (1+ (point-min)))
|
||||
;; Paredit calls `indent-sexp' from this position.
|
||||
(indent-sexp)
|
||||
(should (equal (buffer-string) "(())"))))
|
||||
|
||||
(ert-deftest lisp-indent-region ()
|
||||
"Test basics of `lisp-indent-region'."
|
||||
(with-temp-buffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue