[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Org errors when requiring a new pabbrev.el version
From: |
Tassilo Horn |
Subject: |
[Orgmode] Org errors when requiring a new pabbrev.el version |
Date: |
Sun, 04 Nov 2007 13:29:40 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Hi,
in <address@hidden> Phillip Lord posted a new version oy
his pabbrev.el in the emacs-sources mailinglist. There seem to be some
changes that break the current code in org.el. When I do (require
'pabbrev) I get.
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-variable pabbrev-expand-after-command-list)
add-to-list(pabbrev-expand-after-command-list orgtbl-self-insert-command t)
(progn (add-to-list (quote pabbrev-expand-after-command-list) (quote
orgtbl-self-insert-command) t) (add-to-list (quote
pabbrev-expand-after-command-list) (quote org-self-insert-command) t))
eval((progn (add-to-list (quote pabbrev-expand-after-command-list) (quote
orgtbl-self-insert-command) t) (add-to-list (quote
pabbrev-expand-after-command-list) (quote org-self-insert-command) t)))
do-after-load-evaluation("/home/heimdall/elisp/pabbrev.el")
load-with-code-conversion("/home/heimdall/elisp/pabbrev.el"
"/home/heimdall/elisp/pabbrev.el" nil t)
require(pabbrev)
eval((require (quote pabbrev)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
--8<---------------cut here---------------end--------------->8---
The corresponding code in org.el is
--8<---------------cut here---------------start------------->8---
(eval-after-load "pabbrev"
'(progn
(add-to-list 'pabbrev-expand-after-command-list
'orgtbl-self-insert-command t)
(add-to-list 'pabbrev-expand-after-command-list
'org-self-insert-command t)))
--8<---------------cut here---------------end--------------->8---
It seems the variable name has been changed. This is what the comments
of pabbrev.el say.
--8<---------------cut here---------------start------------->8---
;;; Package Support:
;;
;; Some packages need extra support for pabbrev to work with. There are two
;; plists properties which package developers can use.
;;
;; (put 'command-name 'pabbrev-expand-after-command t)
;;
;; means that the following the named command (in this case command-name),
;; expansion will be offered. `self-insert-command' and a few others is
;; normally fine, but not always.
;;
;; (put mode-name 'pabbrev-global-mode-excluded-modes t)
;;
;; will mean that any buffer with this major mode will not have
;; global-pabbrev-mode activated.
;;
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
- [Orgmode] Org errors when requiring a new pabbrev.el version,
Tassilo Horn <=