diff options
author | Sébastien Delafond <sdelafond@gmail.com> | 2016-03-16 09:54:04 +0100 |
---|---|---|
committer | Sébastien Delafond <sdelafond@gmail.com> | 2016-03-16 09:54:04 +0100 |
commit | 84539dca3aa301ecfe48858eceef1ced0505388b (patch) | |
tree | a3c7c7bcc50e7d7a49b22f0eaf8bd8624ff8d048 /lisp/org-colview.el | |
parent | 8d8ea67656b95d8528b6cd9b43b2d53b847412b0 (diff) |
Imported Upstream version 8.3.4
Diffstat (limited to 'lisp/org-colview.el')
-rw-r--r-- | lisp/org-colview.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/org-colview.el b/lisp/org-colview.el index 359c46a..eade725 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -1,6 +1,6 @@ ;;; org-colview.el --- Column View in Org-mode -;; Copyright (C) 2004-2015 Free Software Foundation, Inc. +;; Copyright (C) 2004-2016 Free Software Foundation, Inc. ;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Keywords: outlines, hypermedia, calendar, wp @@ -607,7 +607,7 @@ an integer, select that value." (t (setq nval (car allowed))))) (cond ((equal major-mode 'org-agenda-mode) - (org-columns-eval '(org-entry-put pom key nval)) + (org-columns-eval `(org-entry-put ,pom ,key ,nval)) ;; The following let preserves the current format, and makes sure ;; that in only a single file things need to be updated. (let* ((org-agenda-overriding-columns-format org-columns-current-fmt) @@ -618,13 +618,13 @@ an integer, select that value." (org-agenda-columns))) (t (let ((inhibit-read-only t)) - (remove-text-properties (1- bol) eol '(read-only t)) + (remove-text-properties (max (1- bol) (point-min)) eol '(read-only t)) (unwind-protect (progn (setq org-columns-overlays (org-delete-all line-overlays org-columns-overlays)) (mapc 'delete-overlay line-overlays) - (org-columns-eval '(org-entry-put pom key nval))) + (org-columns-eval `(org-entry-put ,pom ,key ,nval))) (org-columns-display-here))) (org-move-to-column col) (and (nth 3 (assoc-string key org-columns-current-fmt-compiled t)) |