--- Begin Message ---
Subject: |
eww.el desktop support fixes: autoload eww-mode, use inhibit-read-only |
Date: |
Sun, 30 Nov 2014 11:04:04 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Package: emacs
Tags: patch
Please consider the patch MIMEd.
* eww.el (eww-mode): Autoload, as expected by desktop.el.
(eww-restore-desktop): Use inhibit-read-only when inserting
eww-restore-reload-prompt.
--
FSF associate member #7257 np. Your Leaving — Jami Sieber … B6A0 230E 334A
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -662,6 +662,8 @@
map)
"Tool bar for `eww-mode'.")
+;; autoload cookie needed by desktop.el
+;;;###autoload
(define-derived-mode eww-mode nil "eww"
"Mode for browsing the web.
@@ -1710,8 +1712,9 @@ defun eww-restore-desktop (file-name buffer-name
misc-data)
(case eww-restore-desktop
((t auto) (eww (plist-get eww-data :url)))
((zerop (buffer-size))
- (insert (substitute-command-keys
- eww-restore-reload-prompt))))))
+ (let ((inhibit-read-only t))
+ (insert (substitute-command-keys
+ eww-restore-reload-prompt)))))))
;; .
(current-buffer)))
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#19226: eww.el desktop support fixes: autoload eww-mode, use inhibit-read-only |
Date: |
Mon, 16 Feb 2015 19:12:09 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Ivan Shmakov <address@hidden> writes:
[…]
> Would there be any objections against me pushing the (updated) fix
> sometime within the next two days, /as well as/ a couple of unrelated
> minor changes (both MIMEd)?
Pushed, as there were no objections; closing.
[…]
> (eww-list-histories): Do not pad the rightmost (URIs) column.
… Except for this padding change, as the same change should
probably be applied to eww-list-buffers at the same time.
[…]
commit 8b36bfafeecf5f0578c64129be1d2017483b00f7
CommitDate: 2015-02-16 19:01:50 +0000
Add autoload cookie for the eww-suggest-uris variable.
* lisp/net/eww.el (eww-suggest-uris): Add autoload cookie, so that
add-hook works correctly even if the file is not yet loaded.
commit 2ea5364ca8d1a8dc3f8ac4c9a5ba5c7f03666258
CommitDate: 2015-02-16 18:55:02 +0000
Fix eww.el desktop support.
* lisp/net/eww.el (eww-mode): Add autoload cookie.
(eww-restore-desktop): Use inhibit-read-only.
Fixes: debbugs:19226
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
--- End Message ---