Finally, if this variable is set to nil, no header is
displayed."
- :type '(choice (const :tag "No header" ni)
+ :type '(choice (const :tag "No header" nil)
(const :tag "Subject" t)
(string :tag "Format")
(function :tag "Function"))
(unless (icalendar-import-buffer file t)
(error "Icalendar import error. %s"
"See *icalendar-errors* for more information"))
- (set-buffer (get-file-buffer file))
+ (set-buffer (find-buffer-visiting file))
(setq result (buffer-substring (point-min) (point-max)))
(set-buffer-modified-p nil)
(kill-buffer (current-buffer)))
(setq notmuch-buffer-refresh-function #'notmuch-show-refresh-view)
(setq buffer-read-only t)
(setq truncate-lines t)
+ (when (boundp 'untrusted-content)
+ (setq untrusted-content t))
(setq imenu-prev-index-position-function
#'notmuch-show-imenu-prev-index-position-function)
(setq imenu-extract-index-name-function
`imenu-prev-index-position-function'."
(if (bobp)
nil
- (notmuch-show-previous-message)
+ (if (eobp)
+ (notmuch-show-move-to-message-top)
+ (notmuch-show-goto-message-previous))
t))
(defun notmuch-show-imenu-extract-index-name-function ()