mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-26 19:18:50 +00:00
Revert "Fix problem of point movement in image-mode"
This reverts commit 7c7377288a
.
This is fixed differently in Emacs 27.
This commit is contained in:
parent
7c7377288a
commit
76220fc3fc
@ -611,7 +611,6 @@ Key bindings:
|
||||
(major-mode-suspend)
|
||||
(setq major-mode 'image-mode)
|
||||
(setq image-transform-resize image-auto-resize)
|
||||
(setq-local disable-point-adjustment t)
|
||||
|
||||
;; Bail out early if we have no image data.
|
||||
(if (zerop (buffer-size))
|
||||
@ -932,7 +931,6 @@ If the current buffer is displaying an image file as an image,
|
||||
call `image-mode-as-text' to switch to text or hex display.
|
||||
Otherwise, display the image by calling `image-mode'."
|
||||
(interactive)
|
||||
(goto-char (point-min))
|
||||
(if (image-get-display-property)
|
||||
(image-mode-as-text)
|
||||
(if (eq major-mode 'hexl-mode)
|
||||
|
Loading…
Reference in New Issue
Block a user