Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!hao!oddjob!gargoyle!ihnp4!homxb!ho7cad!msb From: msb@ho5cad.ATT.COM Newsgroups: comp.emacs Subject: alist help for an elisp beginner Message-ID: <276@ho7cad.ATT.COM> Date: 11 Feb 88 19:58:08 GMT Sender: nuucp@ho7cad.ATT.COM Lines: 23 I am green at elisp -- I don't even know lisp. Could I get some help with the following section of code? Then, where can I go to get help on my own for elisp? Would a LISP book help? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; I have this: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defvar file-name-abbreviation-alist '( ("/u13/msb" . "~") ("^/usr/add-on/exptools" . "") ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; I'd like this, but I get an error on argument type of ;; "char-or-string-p" when it runs. Any help? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defvar file-name-abbreviation-alist '( ((format "^%s" (getenv "HOME")) . "~") ((format "^%s" (getenv "TOOLS")) . "") )