Browse Source

Merge branch 'master' of ssh://repo.or.cz/srv/git/org-mode

Bastien Guerry 15 years ago
parent
commit
355eb8f705
3 changed files with 7 additions and 1 deletions
  1. 5 0
      lisp/ChangeLog
  2. 1 0
      lisp/org-agenda.el
  3. 1 1
      lisp/org-html.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2010-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
+	restricted, as an agenda mode.
+
 2010-02-25  Bastien Guerry  <bzg@altern.org>
 2010-02-25  Bastien Guerry  <bzg@altern.org>
 
 
 	* org-timer.el (org-timer-current-timer): Renamed from
 	* org-timer.el (org-timer-current-timer): Renamed from

+ 1 - 0
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."
   "Set the mode name to indicate all the small mode settings."
   (setq mode-name
   (setq mode-name
 	(concat "Org-Agenda"
 	(concat "Org-Agenda"
+		(if (get 'org-agenda-files 'org-restrict) " []" "")
 		(if (equal org-agenda-ndays 1) " Day"    "")
 		(if (equal org-agenda-ndays 1) " Day"    "")
 		(if (equal org-agenda-ndays 7) " Week"   "")
 		(if (equal org-agenda-ndays 7) " Week"   "")
 		(if org-agenda-follow-mode     " Follow" "")
 		(if org-agenda-follow-mode     " Follow" "")

+ 1 - 1
lisp/org-html.el

@@ -137,7 +137,7 @@ not be modified."
   dt { font-weight: bold; }
   dt { font-weight: bold; }
   div.figure { padding: 0.5em; }
   div.figure { padding: 0.5em; }
   div.figure p { text-align: center; }
   div.figure p { text-align: center; }
-  textarea { overflow-x: scroll; }
+  textarea { overflow-x: auto; }
   .linenr { font-size:smaller }
   .linenr { font-size:smaller }
   .code-highlighted {background-color:#ffff00;}
   .code-highlighted {background-color:#ffff00;}
   .org-info-js_info-navigation { border-style:none; }
   .org-info-js_info-navigation { border-style:none; }