Merge from origin/emacs-28
666e40a109Fix 'display-line-numbers-mode' in hide-show buffers68d134cf0fDon't check whether a deleted window is deletable (Bug#54028)b38223a844A friendlier error message from image-mode in an empty bufferb7a651ba37Update to Org 9.5.2-17-gea6b743a8c3f7abd; Don't reference obsolete variables in edebug.el
This commit is contained in:
commit
bee54495e9
7 changed files with 30 additions and 12 deletions
|
|
@ -3914,8 +3914,8 @@ Also see bindings for the eval list buffer *edebug* in `edebug-eval-mode'.
|
|||
The edebug buffer commands:
|
||||
\\{edebug-mode-map}
|
||||
|
||||
Global commands prefixed by `global-edebug-prefix':
|
||||
\\{global-edebug-map}
|
||||
Global commands prefixed by `edebug-global-prefix':
|
||||
\\{edebug-global-map}
|
||||
|
||||
Options:
|
||||
`edebug-setup-hook'
|
||||
|
|
@ -4082,8 +4082,8 @@ buffer and \\<global-map>\\[edebug-step-mode] in any buffer.
|
|||
Eval list buffer commands:
|
||||
\\{edebug-eval-mode-map}
|
||||
|
||||
Global commands prefixed by `global-edebug-prefix':
|
||||
\\{global-edebug-map}")
|
||||
Global commands prefixed by `edebug-global-prefix':
|
||||
\\{edebug-global-map}")
|
||||
|
||||
;;; Interface with standard debugger.
|
||||
|
||||
|
|
|
|||
|
|
@ -645,9 +645,11 @@ Key bindings:
|
|||
;; Bail out early if we have no image data.
|
||||
(if (zerop (buffer-size))
|
||||
(funcall (if (called-interactively-p 'any) 'error 'message)
|
||||
(if (file-exists-p buffer-file-name)
|
||||
"Empty file"
|
||||
"(New file)"))
|
||||
(if (stringp buffer-file-name)
|
||||
(if (file-exists-p buffer-file-name)
|
||||
"Empty file"
|
||||
"(New file)")
|
||||
"Empty buffer"))
|
||||
(image-mode--display)))
|
||||
|
||||
(defun image-mode--display ()
|
||||
|
|
|
|||
|
|
@ -784,8 +784,12 @@ Use \"export %s\" instead"
|
|||
reports))
|
||||
|
||||
(defun org-lint-undefined-footnote-reference (ast)
|
||||
(let ((definitions (org-element-map ast 'footnote-definition
|
||||
(lambda (f) (org-element-property :label f)))))
|
||||
(let ((definitions
|
||||
(org-element-map ast '(footnote-definition footnote-reference)
|
||||
(lambda (f)
|
||||
(and (or (eq 'footnote-definition (org-element-type f))
|
||||
(eq 'inline (org-element-property :type f)))
|
||||
(org-element-property :label f))))))
|
||||
(org-element-map ast 'footnote-reference
|
||||
(lambda (f)
|
||||
(let ((label (org-element-property :label f)))
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Inserted by installing Org mode or when a release is made."
|
|||
(defun org-git-version ()
|
||||
"The Git version of Org mode.
|
||||
Inserted by installing Org or when a release is made."
|
||||
(let ((org-git-version "release_9.5.2-15-gc5ceb6"))
|
||||
(let ((org-git-version "release_9.5.2-17-gea6b74"))
|
||||
org-git-version))
|
||||
|
||||
(provide 'org-version)
|
||||
|
|
|
|||
|
|
@ -632,7 +632,7 @@ This option can also be set with the SELECT_TAGS keyword."
|
|||
(defcustom org-export-with-smart-quotes nil
|
||||
"Non-nil means activate smart quotes during export.
|
||||
This option can also be set with the OPTIONS keyword,
|
||||
e.g., \"':t\".
|
||||
e.g., \"\\=':t\".
|
||||
|
||||
When setting this to non-nil, you need to take care of
|
||||
using the correct Babel package when exporting to LaTeX.
|
||||
|
|
|
|||
|
|
@ -6394,7 +6394,11 @@ windows can get as small as `window-safe-min-height' and
|
|||
(window--state-put-2 ignore pixelwise))
|
||||
(while window-state-put-stale-windows
|
||||
(let ((window (pop window-state-put-stale-windows)))
|
||||
(when (eq (window-deletable-p window) t)
|
||||
;; Avoid that 'window-deletable-p' throws an error if window
|
||||
;; was already deleted when exiting 'with-temp-buffer' above
|
||||
;; (Bug#54028).
|
||||
(when (and (window-valid-p window)
|
||||
(eq (window-deletable-p window) t))
|
||||
(delete-window window))))
|
||||
(window--check frame))))
|
||||
|
||||
|
|
|
|||
|
|
@ -16258,6 +16258,14 @@ redisplay_internal (void)
|
|||
/* Point must be on the line that we have info recorded about. */
|
||||
&& PT >= CHARPOS (tlbufpos)
|
||||
&& PT <= Z - CHARPOS (tlendpos)
|
||||
/* FIXME: The following condition is only needed when
|
||||
significant parts of the buffer are hidden (e.g., under
|
||||
hs-minor-mode), but there doesn't seem to be a simple way of
|
||||
detecting that, so we always disable the one-line redisplay
|
||||
optimizations whenever display-line-numbers-mode is turned on
|
||||
in the buffer. */
|
||||
&& (NILP (Vdisplay_line_numbers)
|
||||
|| EQ (Vdisplay_line_numbers, Qvisual))
|
||||
/* All text outside that line, including its final newline,
|
||||
must be unchanged. */
|
||||
&& text_outside_line_unchanged_p (w, CHARPOS (tlbufpos),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue