mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-08 23:40:24 -08:00
Merge from origin/emacs-26
7668717d6fMerge from Gnulib9e4d523427* lisp/epg.el (epg-start-sign): Replace obsolete functions.26c58f31a8Small fix for erc-logging-enabled34b41e3bc6Quieten semantic normal usagee25f961e37Avoid irrelevant hyperlink in doc string of 'epa-pinentry-...ec2636513c* doc/misc/tramp.texi (Remote processes): Mention gdb rest...918a052a42Query background for gnome terminal version 3.22 (Bug#29716)1dfc27576aMake pixel-wise scrolling less laggyf92264fc2aFix child frame placement issues (bug#29953)a5f718c4c5; * doc/lispref/text.texi (Change Hooks): Fix last change.e876f5f9fbDescribe the precise interaction of complex primitives wit...3a22097cf6Fix valgrind report in call-interactivelyd5f1c87bfe* src/editfns.c (Fsave_excursion): Doc fix. (Bug#30001)b8d74c4578Fix mark-defun when there's no spaces between successive d...a377c652b5Fix Dired display and operations on file names with raw bytesd9d6e8a04c; Comments related to src/termcap.cf8a07fa6b1Improve documentation of 'gdb-many-windows'f82400798eFix failures in smerge-mode on MS-Windows
This commit is contained in:
commit
ddb26f79b2
31 changed files with 244 additions and 92 deletions
|
|
@ -411,12 +411,13 @@ whitespace."
|
|||
;; See https://lists.gnu.org/r/help-gnu-emacs/2016-08/msg00141.html
|
||||
(save-excursion
|
||||
(forward-line 0)
|
||||
(< (line-end-position)
|
||||
(let ((ppss (syntax-ppss)))
|
||||
(when (nth 4 ppss)
|
||||
(goto-char (nth 8 ppss)))
|
||||
(forward-comment (point-max))
|
||||
(point)))))
|
||||
(let ((ppss (syntax-ppss)))
|
||||
(and (null (nth 3 ppss))
|
||||
(< (line-end-position)
|
||||
(progn (when (nth 4 ppss)
|
||||
(goto-char (nth 8 ppss)))
|
||||
(forward-comment (point-max))
|
||||
(point)))))))
|
||||
|
||||
(defun beginning-of-defun-comments (&optional arg)
|
||||
"Move to the beginning of ARGth defun, including comments."
|
||||
|
|
@ -434,10 +435,7 @@ whitespace."
|
|||
(progn (skip-syntax-backward
|
||||
"-" (line-beginning-position))
|
||||
(not (bolp))) ; Check for blank line.
|
||||
(progn (parse-partial-sexp
|
||||
(line-beginning-position) (line-end-position)
|
||||
nil t (syntax-ppss (line-beginning-position)))
|
||||
(eolp))))) ; Check for non-comment text.
|
||||
(beginning-of-defun--in-emptyish-line-p)))) ; Check for non-comment text.
|
||||
(forward-line (if first-line-p 0 1))))
|
||||
|
||||
(defvar end-of-defun-function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue