help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable automatic Perl indentation


From: Joel Konkle-Parker
Subject: Re: Disable automatic Perl indentation
Date: Thu, 06 Feb 2003 14:26:03 -0500
User-agent: Mozilla/5.0 (X11; U; IRIX64 IP27; en-US; rv:0.9.6) Gecko/20011126


Toss this in your ~/.emacs:

(unless (fboundp 'kbd)
  (defmacro kbd (key-sequence)
    (read-kbd-macro key-sequence)))


Ted



"Symbol's function definition is void: unless"
(setq kill-whole-line t)
(setq next-line-add-newlines nil)
(setq require-final-newline t)
(setq make-backup-files nil)
(setq line-number-mode t)
(setq column-number-mode t)
(setq default-major-mode 'text-mode)

(unless (fboundp 'kbd)
  (defmacro kbd (key-sequence)
    (read-kbd-macro key-sequence)))

(load "perl-mode")
(define-key perl-mode-map (kbd ";") 'self-insert-command)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]