Commits

Anonymous committed cdc1cc3

Fix after 'bs' load

  • Participants
  • Parent commits 2589eab

Comments (0)

Files changed (1)

File files/global.el

   (turn-on-visual-line-mode))
 
 ;; move this somewhere appropriate
-(defvar bs-mode-font-lock-keywords
-  (list ;; header in font-lock-type-face
-   (list (bs--make-header-match-string)
-     '(1 font-lock-type-face append) '(1 'bold append))
-   ;; Buffername embedded by *
-   (list "^.*\\(\\*.*\\*\\).*$" 1 'font-lock-comment-face)
-   ;; Dired-Buffers
-   '("^....\\(.*\\) [0-9].*Dired[ /].*$" 1 font-lock-function-name-face)
-   ;; the star for modified buffers
-   '("^.\\(\\*\\) +[^\\*]"     1 font-lock-warning-face))
-  "Default font lock expressions for Buffer Selection Menu.")
+(eval-after-load "bs"
+  '(progn
+     (defvar bs-mode-font-lock-keywords
+       (list ;; header in font-lock-type-face
+        (list (bs--make-header-match-string)
+              '(1 font-lock-type-face append) '(1 'bold append))
+        ;; Buffername embedded by *
+        (list "^.*\\(\\*.*\\*\\).*$" 1 'font-lock-comment-face)
+        ;; Dired-Buffers
+        '("^....\\(.*\\) [0-9].*Dired[ /].*$" 1 font-lock-function-name-face)
+        ;; the star for modified buffers
+        '("^.\\(\\*\\) +[^\\*]"     1 font-lock-warning-face))
+       "Default font lock expressions for Buffer Selection Menu.")))