Browse Source

org-agenda.el (org-agenda-ndays): Fix bug

* org-agenda.el (org-agenda-ndays): Don't make an alias, as
`org-agenda-span' is defined separately.

Thanks to Tassilo for reporting this.
Bastien Guerry 7 years ago
parent
commit
c92a2a5c4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-agenda.el

+ 1 - 1
lisp/org-agenda.el

@@ -1014,7 +1014,7 @@ Obsolete, see `org-agenda-span'."
   :group 'org-agenda-daily/weekly
   :type 'integer)
 
-(define-obsolete-variable-alias 'org-agenda-ndays 'org-agenda-span "24.1")
+(make-obsolete-variable 'org-agenda-ndays 'org-agenda-span "24.1")
 
 (defcustom org-agenda-span 'week
   "Number of days to include in overview display.