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

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

Re: How to quote a list of functions?


From: Emanuel Berg
Subject: Re: How to quote a list of functions?
Date: Thu, 13 Aug 2015 03:31:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Barry Margolin <barmar@alum.mit.edu> writes:

>> And those are, besides checking if there is such
>> a function?
>
> Currently that's it, I think. I was just describing
> it in a more generic way.

OK. So it should look like this:

(put #'upcase-region    'disabled   nil)
(put #'downcase-region  'disabled   nil)
(put #'erase-buffer     'disabled   nil)
(put #'suspend-frame    'disabled   t  )

(defalias 'd #'show-time-and-date)

(defun set-pane-scroll-keys (map)
  "Set MAP keys for vertical scrolling in panes."
  (define-key map "I" #'scroll-up-pane)
  (define-key map "K" #'scroll-down-pane) )

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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