Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions hnreader.el
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ third one is 80.")
(insert (format "[[elisp:(hnreader-read-page-back \"%s\")][Reload]]" url) )
(org-mode)
(goto-char (point-min))
(forward-line 2))))
(forward-line 2)
(read-only-mode 1))))

(defun hnreader--get-title (dom)
"Get title and link from DOM comment page."
Expand Down Expand Up @@ -332,7 +333,8 @@ third one is 80.")
(org-mode)
;; (org-shifttab 3)
(goto-char (point-min))
(forward-line 2))))
(forward-line 2)
(read-only-mode 1))))

(defun hnreader--get-img-tag-width (comment-dom)
"Get width attribute of img tag in COMMENT-DOM."
Expand Down