pkg update and first config fix
org-brain not working, add org-roam
This commit is contained in:
@@ -305,7 +305,9 @@ error."
|
||||
(setq pdf-info--queue (tq-create proc))))
|
||||
pdf-info--queue)
|
||||
|
||||
(advice-add 'tq-process-buffer :around #'pdf-info--tq-workaround)
|
||||
(when (< emacs-major-version 27)
|
||||
(advice-add 'tq-process-buffer :around #'pdf-info--tq-workaround))
|
||||
|
||||
(defun pdf-info--tq-workaround (orig-fun tq &rest args)
|
||||
"Fix a bug in trunk where the wrong callback gets called.
|
||||
|
||||
@@ -1031,7 +1033,11 @@ Manually opened documents are never closed automatically."
|
||||
Returns t, if the document was actually open, otherwise nil.
|
||||
This command is rarely needed, see also `pdf-info-open'."
|
||||
(let* ((pdf (pdf-info--normalize-file-or-buffer file-or-buffer))
|
||||
(buffer (find-buffer-visiting pdf)))
|
||||
(buffer (cond
|
||||
((not file-or-buffer) (current-buffer))
|
||||
((bufferp file-or-buffer) file-or-buffer)
|
||||
((stringp file-or-buffer)
|
||||
(find-buffer-visiting file-or-buffer)))))
|
||||
(prog1
|
||||
(pdf-info-query 'close pdf)
|
||||
(if (buffer-live-p buffer)
|
||||
|
||||
Reference in New Issue
Block a user