summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorTheodor Thornhill <theo@thornhill.no>2022-12-25 22:47:36 +0100
committerJuri Linkov <juri@linkov.net>2022-12-28 19:21:52 +0200
commitf9a22cf78d1a7f6472b09c3046c6a7f6984bc2d2 (patch)
tree1944caf59d846247516ab38be884646bf3984047 /lisp/emacs-lisp/byte-run.el
parentefc44727daaee4d3f9aeb19864074472e99b296a (diff)
downloademacs-f9a22cf78d1a7f6472b09c3046c6a7f6984bc2d2.tar.gz
emacs-f9a22cf78d1a7f6472b09c3046c6a7f6984bc2d2.tar.bz2
emacs-f9a22cf78d1a7f6472b09c3046c6a7f6984bc2d2.zip
Fixes in prog-fill-reindent-defun
Ensure that we don't consider lines such as switch (foo) { case 2: // If point on 'c' in 'case' return 2; not to be considered for filling. Also make sure we check for the active region, to replicate the normal fill-paragraph behavior. * lisp/progmodes/prog-mode.el (prog-fill-reindent-defun): Adjust regex, and make sure fill-paragraph checks for active region. (bug#60360, bug#60322)
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions