core-popup.el: update comments + remove :modeline in doom-popup-rules

This commit is contained in:
Henrik Lissner 2016-09-23 21:50:57 +02:00
parent 809d5fe681
commit 35740e6907

View file

@ -41,7 +41,6 @@
;; :noesc = Can't be closed with a single ESC ;; :noesc = Can't be closed with a single ESC
;; :nokill = Won't be killed when closed (only buried) ;; :nokill = Won't be killed when closed (only buried)
;; :modeline = Show the modeline
(defvar doom-popup-rules (defvar doom-popup-rules
'(("^\\*doom\\(:scratch\\)?\\*$" :noesc :nokill) '(("^\\*doom\\(:scratch\\)?\\*$" :noesc :nokill)
("^\\*doom.*\\*$" :noesc :nokill) ("^\\*doom.*\\*$" :noesc :nokill)
@ -65,10 +64,10 @@
;; ;;
(after! help-mode (after! help-mode
;; Following links in help buffers sometimes uses itself or other-window ;; Help buffers use itself (or `other-window') to decide where to open
;; (annoying!). It should only replace the buffer we opened the popup from. To ;; followed links, which can be unpredictable. It should *only* replace the
;; fix this these three button types need to be redefined so that the right ;; original buffer we opened the popup from. To fix this these three button
;; window is in focus before the link is followed. ;; types need to be redefined to set aside the popup before following a link.
(define-button-type 'help-function-def (define-button-type 'help-function-def
:supertype 'help-xref :supertype 'help-xref
'help-function (lambda (fun file) 'help-function (lambda (fun file)