From 74b2b73e57f862d7ede9064ac738ae3c3a4b4dfb Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 25 Feb 2010 15:39:55 +0100 Subject: [PATCH 1/2] Minor fix for previous commit --- lisp/org-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 0b89abb37..6749f5a7d 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -137,7 +137,7 @@ not be modified." dt { font-weight: bold; } div.figure { padding: 0.5em; } div.figure p { text-align: center; } - textarea { overflow-x: scroll; } + textarea { overflow-x: auto; } .linenr { font-size:smaller } .code-highlighted {background-color:#ffff00;} .org-info-js_info-navigation { border-style:none; } From 8bb1c06a3a0921d1a5f7d0816780b97bd8f95c5d Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 25 Feb 2010 16:05:00 +0100 Subject: [PATCH 2/2] Agenda: Show [] in mode line when restricted --- lisp/ChangeLog | 5 +++++ lisp/org-agenda.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fe7c98a6d..70605a1f7 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-02-25 Carsten Dominik + + * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is + restricted, as an agenda mode. + 2010-02-25 Bastien Guerry * org.el (org-set-property): Remove useless space in the prompt. diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 30c6efd5a..d1cebad27 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5865,6 +5865,7 @@ When called with a prefix argument, include all archive files as well." "Set the mode name to indicate all the small mode settings." (setq mode-name (concat "Org-Agenda" + (if (get 'org-agenda-files 'org-restrict) " []" "") (if (equal org-agenda-ndays 1) " Day" "") (if (equal org-agenda-ndays 7) " Week" "") (if org-agenda-follow-mode " Follow" "")